curl

method 지정

curl -XGET https://okdevtv.com
curl -XGET https://okdevtv.com\?param=value
curl -XGET 'https://okdevtv.com?param=value'

다운로드

curl -O http://downloadlink

file upload

curl -F "userid=kenu" -F "file=/home/kenu/data/hello.txt" http://uploadlink

헤더 설정

curl --header 'headername: value' https://okdevtv.com

curl -XPOST 'localhost:3000/apis/tip' -H "Content-Type: application/json" -d '{"name": "kenu", "email": "test@test.com"}'
What Else?