当我使用
curl -X POST http://localhost.com/test.php -F "a=bbbb" 时
结果:
array(1) {
["a"]=>
string(4) "bbbb"
}
抓的到POST资料
可是当我加入 -H 的资料
curl -X POST http://localhost.com/test.php -H "Cache-Control: no-cache" -H
"Postman-Token: 6e468ce3-b9e0-4502-65ff-a08eed133c55" -H "Content-Type:
multipart/form-data; boundary=