小程序:扫一扫查出行【扫一扫了解最新限行尾号】复制小程序 curl -X POST --data '{"name":"zfpx"}' -H 'Content-Type:application/json' http://localhost:9090/users
curl -X POST -d '{"name":"zfpx"}' -H 'Content-Type:application/json' http://localhost:9090/users
这里--data = -d
curl --help 可以查询帮助文档来找到对应的命令