linux命令post请求发送json串

 

 

curl -H "Content-type: application/json" -X POST -d '{"timestamp":3437,"seqId":1,"payUserSerial":777,"payTypeId":1,"memberId":157156,"memberAcct":"15221290147"}' http://10.141.128.37:9080/openapi/qryPay

 

curl -H "Content-type: application/json" -X POST -d '{"timestamp":3437,"seqId":1,"payUserSerial":777,"payTypeId":1,"memberId":157156,"memberAcct":"15221290147"}' http://10.141.128.37:9080/openapi/qryPay

 

参考:

 

Linux命令发送Http的get或post请求(curl和wget两种方法) 及定时任务的设置

posted @ 2020-10-10 18:01  戈博折刀  阅读(2054)  评论(0编辑  收藏  举报