$ curl --header "X-Forwarded-For: #.#.#.#" 'http://targetpost.url' --data 'your=1&data=2&here=ok'
Verbose | Hide progress | extra info | Write output | Timeout |
---|---|---|---|---|
-v | -s | -w format | -O | -m secs |
--trace-ascii file | -o file | |||
POST | multipart | PUT | HEAD | custom |
-d string | -F name=value | -T file | -I | -X METHOD |
-d @file | -F name=@file | |||
Basic auth | read cookies | write cookies | send cookies | user-agent |
-u user:password | -b | -c | -b "c=1; d=2" | -A string |
Use proxy | Headers, add/remove | follow redirs | gzip | insecure |
-x host:port | -H "name: value" | -L | --compressed | -k |
-H name: |