oarandac
(Oscar Aranda)
1
Hi, I’m getting mad trying to set path variables in this URL
https://domain/v1/tasks/A78HT33J7JK:complete
I’d like to set a path variable for the task id. Something like
https://domain/v1/tasks/:taskid:complete
But postman creates a variable with the name “taskid:complete” as seen in the attached pic
Any idea on how to escape the colon char that I don’t want to be part of the variable name?
Thanks in advance
Can you try to store value in Environment/collection then use that in the url itself instead of Path variable
Ex: https://domain/v1/tasks/{{getthisFromCollectionOrEnvironment}}:complete
1 Like
oarandac
(Oscar Aranda)
3
Yes, that works.
I was simply asking if there is a way to use path variables instead of global/collection vars
Thanks!!!
I’m using the value with :complete
.
1 Like
system
(system)
Closed
5
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.