curl备忘

get:

curl "http://www.test.com/test?a=123&b=asdf"

post:

curl -d "a=123&b=asdf" http://www.test.com/test

urlencode:

curl --data-urlencode "token=suVT7OcYi0FUrgOZoS+fpDnB8sN1lw==" http://localhost:8080/server/reconnect

你可能感兴趣的:(curl备忘)