Using path variables in URLs with colon

Hi, I’m getting mad trying to set path variables in this URL


I’d like to set a path variable for the task id. Something like


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


I’m using the value with :complete.

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