curl command

Examples: GET - POST - Basic Auth

Go

Curl from Chrome

  • 1) Open the Network tab in the DevTools
  • 2) Ctrl-click a request, "Copy as cURL".
  • 3) Paste it in the cURL command box.
screenshot of chrome devtools