curl command

Examples: GET - POST - Basic Auth

Python requests

Get a curl command from Chrome

  • 1) Open the network tab in Chrome DevTools (Cmd + Opt + I)
  • 2) Control-click a request and navigate to "Copy as cURL".
  • 3) Paste it in the curl command box.
screenshot of chrome devtools

Find a problem?

Please report bugs on GitHub. Contributing is really easy. I will walk you through the code!


Congratulations to curl's author, Daniel Stenberg, for winning the Polhem Prize!