3 回答
TA贡献1864条经验 获得超6个赞
php://input
$_POST
application/x-www-form-urlencoded
(简单表格-POST的标准内容类型)或 multipart/form-data-encoded
(主要用于文件上传)
form
POST /page.php HTTP/1.1key1=value1&key2=value2&key3=value3
POST /page.php HTTP/1.1{"key1":"value1","key2":"value2","key3":"value3"}
application/json
$_POST
file_get_contents('php://input')
(multipart/form-data
TA贡献1865条经验 获得超7个赞
- 3 回答
- 0 关注
- 574 浏览
添加回答
举报