Cheat Sheet - Web request(cURL)

Chris Kim·2024년 11월 29일

1. cURL

CommandDescription
curl -hhelp menu
curl <Target address>Basic GET method
curl -s -O <directory>Download file
-kSkip HTTPS
~~ -vPrint full HTTP details
-I ~~Send HEAD request
-i ~~Print response headers and response body
~~ -A 'Mozilla/5.0'Set User-Agent header
-u <id>:<pw> ~~Set HTTP basic authorization credentials
http://<id>:<pw>@~~Same above
-H '<Header>: <Value>'Set request header
-XSend Other HTTP Method(DELETE, POST, ...)
-b '<cookie_parameter>:' ~~Set request cookies
|jqread data in JSON form
-ssilent mode
profile
회계+IT=???

0개의 댓글