命令:

 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"
}

 

posted on 2019-01-09 12:02  lshan  阅读(405)  评论(0编辑  收藏  举报