如何处理 Postman 中密码中存在特殊字符的 URL?

编程入门 行业动态 更新时间:2024-10-23 23:33:11
本文介绍了如何处理 Postman 中密码中存在特殊字符的 URL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我的 URL 格式如下.

I have the following format in URL.

username:password@test.nabin/some/url

这里的密码类似于 qDTA*$X)ME/74.当我直接在 URL 中使用这个密码时,邮递员没有响应.我应该如何继续测试这个网址?

Here password is something like qDTA*$X)ME/74. When I directly use this password in URL, then the postman does not respond. How should I proceed testing this url?

(在图像中,响应容器是纯白色的,没有任何错误.这表明 API 从未被命中)

(In the image the response container is plain white without any error. This indicates, the API was never hit)

推荐答案

您可以在应用程序中手动编码部分 URL.这些是版本 6 中的文档.

You can manually encode parts of the URL within the application. These are the docs from version 6.

learning.postman/docs/postman/sending-api-requests/requests/#sending-parameters

在 URL 部分下:

注意:您在 URL 栏或数据编辑器中输入的参数不会自动进行 URL 编码.右键选中一段文本,选择EncodeURIComponent"手动对参数值进行编码."

"Note: Parameters you enter in the URL bar or in the data editor will not automatically be URL-encoded. Right click a piece of selected text, and select "EncodeURIComponent" to manually encode the parameter value."

更多推荐

如何处理 Postman 中密码中存在特殊字符的 URL?

本文发布于:2023-10-29 09:54:51,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1539389.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:如何处理   特殊字符   密码   URL   Postman

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!