Daily use of Postman (one-click local joint debugging)

        Background Note: The current projects are generally separated from the front and back. When bugs occur online or when joint debugging is performed, sometimes the back-end needs to repeatedly simulate the front-end data format. In the case of using Postman, how to quickly create the data needed by the back-end Woolen cloth?

Just find a website, click f12, and click to view Network, as shown in the figure below.

 Right click on the request you need to simulate.

At this time, you already have all the parameters required by Postman in your clipboard. So how to import into Postman?

Click on Postman, click on the upper left corner, the Import button

 

 

At this time, Postman completely simulates the request you just copied (request header + request body). You only need to change the requested address to your local one, so that you can carry out undifferentiated back-end debugging. Don't worry anymore, worry about creating back-end data formats.


  The blogger’s newly launched gitee free open source project (mall + APP + applet + H5), interested friends can learn about it.

Fresh food mall kxmall-small program + App + official account H5: kxmall-fresh food mall + APP + small program + H5. At the same time, it supports WeChat applets, H5, Android App, and Apple App. Supports cluster deployment and stand-alone deployment. It can be used in B2C malls, O2O takeaways, community supermarkets, and fresh food [with a matching rider-end delivery system]. kxmall uses uniapp encoding. Use Java development, SpringBoot 2.1.x framework, MyBatis-plus persistence layer framework, Redis as cache, MySql as database. The front-end vuejs is used as the development language. https://gitee.com/zhengkaixing/kxmall

Guess you like

Origin blog.csdn.net/qq_38377190/article/details/128078683