Testing the RESTful interface with the Restclient tool

Source: Internet
Author: User

1. The development of the RESTful interface with a tool used to test gadgets, non-browser plug-ins, click on the jar can be directly run


2. The interface after running the jar package is as follows:


3:http Request Section

1.Method to select the request mode

2.Header is used to set request header parameters, which I tested for carrying token


3.Cookie used to set the portable cookie, similar to header

4.Body is used to set the parameters that carry the post and so on, and when method chooses post, the body has the following choices:

When you need to pass JSON data, you can select String Body

And then edit the properties of Content-type, I chose the background is Application/json, here and backstage to maintain consistent

Then you can enter the JSON data below, fill in the parameter click the arrow behind the URL to request the interface

4.HTTP Response part

This section shows the request results

The Returned parameter



Download address of the tool: Https://github.com/wiztools/rest-client/releases

Reference: http://blog.csdn.net/loongshawn/article/details/69267494

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.