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两种方法) 及定时任务的设置

原文地址:https://www.cnblogs.com/libin6505/p/13794299.html