Search code examples
web-servicesrestgoogle-chromepostman

How to pass parameter values from Postman which has '#' in it?


I am trying to call a webservice from Postman client and while doing this I am passing a value which has '#' in it. Example:

test = "43543#324#435"

But when I enter this value and click somewhere else it will remove all characters from first '#' including '#'. So the parameter will become:

test = "43543"

What should I do so that I can pass a parameter with '#' in it?

Note: 'Postman' is a Google Chrome add-in to test Rest webservices.


Solution

  • I got the solution.

    As some special characters are not allowed in URL, so we need to encode them. For this, in bulk edit mode for key-value pair, select value which contains special characters and right click. Select 'EncodeURIComponenet' and send request. It will work :)