Front-end test interface, POSTMAN one-key debugging

Front-end test interface, POSTMAN one-key debugging

When we encounter problems with the interface during development, we usually look for a backend battle. Before that, we need to confirm the problem. When our browser is inconvenient to debug, we usually use postman because it is more convenient and Quick, browser debugging has to wait for the code to run. Of course, we also need to configure the headers and body in postman and then send a request to view it, which is very annoying.
This step can actually be omitted, how can it be omitted? let's see
insert image description here

We only need to open the console, right-click our interface in newwork, then find copy as cURL(bash) in turn, and click copy.
insert image description here
Then open postman, click import, then click Raw text, paste the content we copied in, and then click continue, we can send a request for debugging with one click.

Guess you like

Origin blog.csdn.net/m0_52313178/article/details/124619600
Recommended