Journey of Life
April 7, 2016
curl test api
In curl, use "--data-urlencode" to encode data
use "-G" to send data in "GET" instead of "POST".
curl -G "https://myserver.com:1234/msg?msgtype=PUSH" --data-urlencode "msg=hello how are you"
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment