如何使用邮递员查看呈现为网页的返回 html [英] How to see a returned html rendered as a webpage with postman

查看:18
本文介绍了如何使用邮递员查看呈现为网页的返回 html的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在与邮递员一起测试一个烧瓶应用程序,我注意到(如屏幕截图所示)我收到了返回的 HTML.我知道过去我能够看到返回的 HTML 呈现为网页,但现在我不能(尽管单击了各种按钮).如何将返回的 html 视为网页?

I'm working with postman to test a flask app, I've noticed (like in the screenshot) that I am getting the returned HTML. I know in the past I was able to see the returned HTML rendered as a webpage, but now I can't (despite clicking on various buttons). How can I see the returned html as a webpage?

推荐答案

为了以网页形式查看响应输出,您必须点击预览按钮.例如,在原始响应模式下,您会得到以下信息:然后在预览模式下,您会得到以下信息:

In order to view the response output as a webpage you must hit the preview button. For example when in raw response mode you get the following: Then in Preview mode you get the following:

这篇关于如何使用邮递员查看呈现为网页的返回 html的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆