Kong / insomnia

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.

Home Page:https://insomnia.rest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Environment variable does not get resolved in the URL (beta)

solorisx opened this issue · comments

Expected Behavior

Environment variable gets resolved when sending a request when used in the URL

Actual Behavior

Environment variable shows up in the preview, but not in the actual request. Using environment variables in headers works.

image

Reproduction Steps

  1. Set environment variable
  2. Use environment variable in request

Is there an existing issue for this?

Additional Information

No response

Insomnia Version

9.0.0-beta.2

What operating system are you using?

Windows

Operating System Version

Windows 11

Installation method

download from Github (exe)

Last Known Working Insomnia version

No response

We are looking into this.

@solorisx Hi! Do you add any pre-request script?

@CurryYangxx Yes, I did. Without it works indeed. Thanks for the quick response!