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 可以查询帮助文档来找到对应的命令
curl --help 可以查询帮助文档来找到对应的命令