Using path variables in URLs with colon

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

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.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.