Postman use three: API request and view response results

Source: Internet
Author: User
Request

Postman supports a number of request types, the left side of the interface can see the request type: Get, post, put, patch, etc., on the right is the Send and save button, below is the request to support the authentication method, information header, information body, private script and test results. Below we describe the common get and put requests.

GET request

Just select the GET request, enter the interface address, then save, select the appropriate folder

POST request

1. Select the GET request, enter the interface address, and enter the appropriate information in the header and body

Body according to the actual needs of choice, support:

  • Form-data
  • x-www-form-urlencoded
  • Raw
  • Binary

2.Tests is the assertion of test results, etc., the following article describes

3. After clicking Send, you can see the results returned by the interface.

Tips: Postman can be requested to generate code parameters, the direct format of the special symbols, can be used in code, very convenient Ah, see

Postman use three: API request and view response results

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.