使用 POST 参数
POST
https://echo.apifox.com/post
HTTP Methods
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://echo.apifox.com/post' \
--header 'Content-Type: application/json' \
--data-raw '{
"d": "deserunt",
"dd": "adipisicing enim deserunt Duis"
}'
响应示例响应示例
{
"args": {
"q1": "v1",
"q2": "v2"
},
"data": "",
"files": {},
"form": {
"b1": "v1",
"b2": "v2"
},
"headers": {
"Accept": "*/*",
"Accept-Encoding": "gzip, deflate, br",
"Connection": "close",
"Content-Length": "262",
"Content-Type": "multipart/form-data; boundary=--------------------------497528158241070250470018",
"Host": "httpbin.apifox.com",
"User-Agent": "apifox/1.0.0 (https://www.apifox.cn)"
},
"json": null,
"origin": "116.23.126.194",
"url": "https://httpbin.apifox.com/post?q1=v1&q2=v2"
}
请求参数
Query 参数
q1
string
可选
示例值:
v1
q2
string
可选
示例值:
v2
Body 参数application/json
返回响应
修改于 2023-01-05 07:50:19