Postman test POST request parameters as JSON type

Source: Internet
Author: User
Introduction Postman is a chrome plug-in for testing Web APIs that can be obtained free of charge and installed in Chrome by Google Store, which is useful for developers who are developing Web APIs, eliminating the task of writing test page calls. This article explains how to use postman when we want to have JSON data in the call to the Web API, as most of the usage scenarios we see are directly calling the Web API and not sending related required parameters with request.

Demand

Use the POST request, and you need to smuggle JSON data to the Web API tutorial

First, set the URL

Second, set the Content-type in the header

Third, set body

IV. Input test data in JSON format

Data returned by the interface

Summary

This tool is very handy for testing the backend interface when we are doing a front-end separation project. Finally say a new admission, please take care!

Postman test POST request parameters as JSON type

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.