cURL command list:

1. curl | GET request with `cURL`

2. curl -v | Verbose GET request with `cURL`

3. curl -vvv | `cURL` Basic Auth login

4. curl -u admin:password -vvv | Alternate `cURL` Basic Auth login

5. curl -u admin:password -L | `cURL` Basic Auth login, follow redirection

6. curl -u admin:password ‘' | `cURL` GET request with parameter

7. curl -d ‘username=admin&password=password’ -L | POST request with `cURL`

8. curl -d ‘username=admin&password=password’ -L -v | Debugging with `cURL`

9. curl -d ‘username=admin&password=password’ -L — cookie-jar /dev/null -v | Cookie usage with `cURL` |

10. curl -d ‘username=admin&password=password’ -L — cookie-jar cookies.txt | `cURL` with cookie file

11. curl -H ‘Content-Type: application/json’ -d ‘{ “username” : “admin”, “password” : “password” }’ | `cURL` specify content type

12. curl -X OPTIONS -vv | `cURL` OPTIONS request

13. curl -X PUT -d @test.txt -vv | File upload with `cURL`

14. curl -X DELETE -vv | DELETE method with `cURL` |

Penetration Tester@⠎⠓⠁⠗⠍⠊⠞⠁⠝⠍⠁⠽

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Introduction to JavaScript: Basics

// from Twitter

邹明潮 Notes: YDKJS Scope & Closure

Quokkajs — Rapid prototying playground

How to Remove Duplicates from a Sorted Array

Codedrop: Create, share and reuse your code

Swirling Water

LeetCode Algorithm Challenges: Convert Sorted Array to Binary Search Tree

Angular reactive form generation out of streams

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Tanmay Bhattacharjee

Tanmay Bhattacharjee

Penetration Tester@⠎⠓⠁⠗⠍⠊⠞⠁⠝⠍⠁⠽

More from Medium

Linux Fundamentals Part-3

Basics of firewall-cmd [Part-1]

Set up an AWS EC2 instance with port-forwarding and access your private home server from anywhere

Me casually connecting remotely to my private server

How to break into Cyber Security