content-type: In Request Headers, telling our server send request information which format.
1 content-type:application/x-www-form-urlencoded
default. (If you do not add http information manager that does not specify the content-type)
Parameter format: key1 = value1 & key2 = value2
2 content-type:application/json
Parameter is json format
{
"key1":"value1",
"key2":"value2"
}
3 content-type:multipart/form-data
Upload files in this format
========= how different content-type input parameters =====================
Use the default mode of the type-Content: the Application / the X--the WWW-form-urlencoded
Parameters Parameter may or Body D input ata, the different formats, as shown in FIG.
These two input parameters can only use a tab page, can not switch to another one of the data.
====================================
If the capture is the default request fiddler, is forced to modify: content-type: application / json request, is not feasible
First, add a header management. Right-click on an http request "Add" configuration element "HTTP header information manager
② When parameter passing, use the incoming data body data json format:
Response result described forcibly converted to json format, parameters passed failed:
参照:https://www.cnblogs.com/dinghanhua/p/5646435.html