linux 下使用 curl post
生活随笔
收集整理的這篇文章主要介紹了
linux 下使用 curl post
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
命令:
?curl -X POST -d @/etc/lazada/lazada_tracking.txt? ?http://localhost:8080/booking/rs/LazadaService/post --header "Content-Type:application/json"
?
-d 后臺
?
@/? : post 的 body 體
eg:
{"api_key":"EF47A1F38778D","tracking_url":"http://baudi.com/post","user_id":"UFL","customerCode":"HKG041049", "request_flag":"POST_TRACKING_STATUS" }?
轉載于:https://www.cnblogs.com/lshan/p/10243517.html
創作挑戰賽新人創作獎勵來咯,堅持創作打卡瓜分現金大獎總結
以上是生活随笔為你收集整理的linux 下使用 curl post的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: const 常量_条款03:尽可能使用c
- 下一篇: U盘流畅运行linux发行版,做各种li