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 click "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!