Firefox restclient and Httprequester, Chrome's postman

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.