Posts

Showing posts from July, 2021

curl command cheat sheet

 In this tutorial. I writen curl command cheat sheet.  curl cheat sheet Option -o <file>       # --output: write to file -u user:pass  # --user: Authentication -v                  # --verbose -s                  # --silent -I                  # --head: headers only -i                  # --include: Include the HTTP-header in the output Request -X POST          # --request -L                     # follow link if page redirects -F                     # --form: HTTP POST data for multipart/form-data Headers -A <str>            # --user-agent -b name=val      # --cookie -b FILE             # --cookie -H "X-Foo: y"    # --header --compressed     # use deflate/gzip Data -d 'data'      # --data: HTTP post data, URL encoded (eg, status="Hello") -d @file     # --data via file -G              # --get: send -d data via get SSL -E, --cert <cert>     # --cert: Client cert file     --cert-type          # der/pem/eng -k, --insecure          # for self-sig