Chrome has the famous Postman, that Firefox also has its right-arm, that is restclient and httprequester. These two tools are Firefox plug-ins, mainly used to simulate the sending of HTTP requests, HTTP requests the two most commonly used methods are get and post, because the Get method is very simple not to introduce here, here is mainly about how to use these two tools to send a POST request.
1.RESTClient
The first method selects post, and the interface address is populated in the URL address bar:
Then click the top Headers drop-down menu and select the custom Header:
In the pop-up dialog box, enter name and value, and click Okay:
By the way, the name and value here can be tapped in Firefox F12 to get:
After adding the custom header, the InfoBar appears on the page, and then we enter the request body information in the Body field, where I test the interface to send an ID to the interface address to get my account and a status code, if successful that this status code is 0:
Finally click on the upper right of the send, the response body content is out, the status code is 0, indicating that the test was successful:
2.HttpRequester
Again, first method selects post, and the interface address is populated in the URL address bar:
Then select parameters below, enter name and value and click Add:
After adding the message will appear in the list below, return to Centent to Send, click Parameter Body, the list below will appear this message, Centent type will automatically become application/ X-www-form-urlencoded:
Finally click Post and the response message will appear on the right:
Category: Front-end related
Firefox restclient and Httprequester, Chrome's postman