Passing special character as part of URI parameter

偶尔善良 提交于 2020-08-27 21:24:28

问题


I have to pass a special character ('#') hash as part of my URI parameter while using Postman.

http://localhost:9082/client/rest/Retrieval/listemail?bookID=#1063

The below bookID value is not getting passed to the server. Can someone help.


回答1:


You can use the built feature of Postman to help you with this. Simply, highlight the part of the URL that you would like to encode and right click.

This will display a context menu with the option to either Encode or Decode the selected value.



来源:https://stackoverflow.com/questions/54780100/passing-special-character-as-part-of-uri-parameter

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!