Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the dash letter in url causes problem when used as environment variable #2871

Closed
MehrdadMzfr opened this issue Mar 31, 2017 · 2 comments
Closed

Comments

@MehrdadMzfr
Copy link

  1. Postman Version: 4.10.5
  2. App:Chrome app
  3. OS details: Windows 10
  4. Is the Interceptor on and enabled in the app: NO
  5. Did you encounter this recently, or has this bug always been there: just started to use
  6. Expected behaviour:
  7. Console logs (http://blog.getpostman.com/2014/01/27/enabling-chrome-developer-tools-inside-postman/ for the Chrome App, View->Toggle Dev Tools for the Mac app):
  8. Screenshots (if applicable)

I'm trying to use environment variable for urls. I set the environment key url to https://my-address/myresource

then when I try to use, it removes the part that contains the dash and give following error:

{{url}}/doStuff

<title>Error</title>
Cannot POST /myresource/doStuff

can you please explain how to use a variable name that contains a dash letter (-)?
e.g. https://my-address/myresource

@vegetableman
Copy link

@MehrdadMzfr I am not able to reproduce the issue. You could verify the request being sent by checking the network tab on the devtools in the app. To enable devtools, you could refer: https://www.getpostman.com/docs/errors

@MehrdadMzfr
Copy link
Author

verified the request and it was a mistake on my side.

thanks for for the follow up and the nice product :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants