curl

curl -X POST -H "Content-Type: application/json" http://daum.net -d '{"hello": "world" }'

-X

  • --request

  • request method GET,POST, PUT, DELETE

-H

  • --header

  • "Content-Type: application/json"

  • application/x-www-form-urlencoded

-D

  • --data

  • POST 사용할때

ref : https://gist.github.com/subfuzion/08c5d85437d5d4f00e58

results matching ""

    No results matching ""