如何在Postman中获得输出?

发布于 2025-02-06 17:56:01 字数 100 浏览 2 评论 0原文

我正在尝试从API获取产品列表。我要求使用GET方法和响应代码为200的URL。但是如何在Postman中查看产品列表?

https:// url/product/all

I am trying to get list of products from api. i requested url with get method and response code is 200. but how can i get to see list of products in postman?

https://url/Product/all

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

把回忆走一遍 2025-02-13 17:56:01

看起来您正在以HTML格式获得响应;您只需要向下滚动响应主体即可看到它们。将您的响应身体格式从HTML更改为JSON。您应该能够看到JSON。

Looks like you are getting the response in HTML format; you just need to scroll down in the response body to see them. Change your response body format from HTML to JSON. You should be able to see the JSON.
enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文