Import a request with Copy as cURL

Copy a request from the browser Network panel and open it in API Tester.

In short

Your browser can copy any request it made as a cURL command. Paste that command into {{brand}} and it opens as a request with its method, address, headers and body - ready to send again or save.

Before you start

Steps

  1. Open your browser's developer tools and select Network.
  2. Perform the action you want to reproduce.
  3. Right-click the request and choose Copy as cURL.
  4. Paste it into search, or use "Import cURL" in Single request.
  5. Review the URL, headers, body and token, then send.

Result: the request is filled in as the browser sent it.

Good to know

A copied command carries a live token It usually holds your session token, which will expire. If you save it into a header, treat the saved request like the token, and move the credential into an authentication profile.

If something goes wrong

Related