Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl --data "param1=value1¶m2=value2" https://example.com/resource.cgi
- curl --form "fileupload=@my-file.txt" https://example.com/resource.cgi
- curl --form "fileupload=@my-file.txt;filename=desired-filename.txt" --form param1=value1 --form param2=value2 https://example.com/resource.cgi
- curl --data '' https://example.com/resource.cgi
- curl -X POST https://example.com/resource.cgi
- curl --request POST https://example.com/resource.cgi
- curl --tr-encoding -X POST -v -# -o output -T filename.dat
- http://example.com/resource.cgi
- echo '{"text": "Hello **world**!"}' | curl -d @- https://api.github.com/markdown
- <p>Hello <strong>world</strong>!</p>
- curl -d "name=Rafael%20Sagula&phone=3320780" http://www.where.com/guest.cgi
- curl -d "name=Rafael%20Sagula%26phone=3320780" http://www.where.com/guest.cgi
- curl -d "username=admin&password=admin&submit=Login" --dump-header headers http://localhost/Login
- curl -L -b headers http://localhost/
- curl -v --data-ascii var=value http://example.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement