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
Newer Post
Older Post
Home
View mobile version
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment