First download and install the postman software from the Internet. If we want to initiate a request, click the NEW button on the toolbar, and then select Request.
In the pop-up save request interface, enter the name of the request and the description of the request, and create a directory to store the request. Here we have filled in the request name (request name), Request description (request description), and created a new folder. test, click the save to test button.
Select the request method, usually post or get. Here we choose a post method, enter the url address in the subsequent input box, and then click send (send).
If there is no problem with the requested URL and the request method, the relevant results, whether it was successful, the time spent on the request, etc. will be returned.
If the request requires input of relevant parameters, we can enter the relevant key-value pairs in params. Some parameters may need to be added in headers, such as cookie information, etc.
6. If you want to simulate that the input parameter in an ajax request is a json object, you need to select raw in the body, select the json (application/json) method, enter the object in json format, and send the request.