Curl
- 使用 curl 发送 POST 请求的几种方式 - 自由人的 BLOG
- http - What is the cURL command-line syntax to do a POST request? - Super User
1 | curl -X POST -H "Accept-Language:zh-CN" -H 'x-auth-token:09ef4702-578e-408b-91b2-a40393dfc996' -F 'symbol=BTC/USDT' -F 'price=76.00000' -F 'amount=1002' -F 'direction=BUY' -F 'type=LIMIT_PRICE' http://192.168.1.22:8091/exchange/order/add |
1 | curl -X GET --data '{"album_id": "4510261846343990"}' -H "Content-Type:application/json" http://localhost:6004/media/output/materiellist |