linux curl 模拟 post请求

curl -X POST -H 'Content-Type: application/json' -i http://ip:port/context/api/123 --data '{"param1":"p1","p2":"p2"}'

  

猜你喜欢

转载自www.cnblogs.com/veryvalley/p/9883233.html