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 mode, and must carry the JSON data to the Web API Using Tutorials
First, set the URL
Second, set the Content-type in the header
Third, set body
IV. Input test data in JSON format
Summary
When we do the front-end separation of the project, this tool testing the background interface is very convenient, this blog hope to help everyone
Postman test POST request parameters as JSON type