1. 程式人生 > >curl模擬post請求

curl模擬post請求

time lan local admin amp hid .com gin nbsp

curl -d "begin_time=2018-10-10 10:31:53&end_time=2018-10-13 10:31:53&worker_no=admin"  "http://localhost/xx/phc/xx/xx"

在黑窗口也就是(DOS)命令提示符窗口裏面輸入以上命令

-d "begin_time=2018-10-10 10:31:53&end_time=2018-10-13 10:31:53&worker_no=admin" 表示post要傳遞的參數
"http://localhost/xx/phc/xx/xx"標識提交到上面地址

curl模擬post請求