Skip to main content
Requestly converts cURL commands into fully editable API requests. This makes it easy to migrate from terminal workflows, import requests from documentation, or grab a request straight from your browser’s DevTools network panel.

How to Import a cURL Command

1

Open Requestly App

Download and launch the Requestly Desktop App.
2

Click Import and Select cURL

In the top-left corner of the API Client, click the Import button. Choose cURL from the dropdown.
3

Paste Your cURL Command

Paste your raw cURL command into the input box.
4

Click Import

Click Import. Requestly converts the cURL into an editable API request, ready to send or save to a collection.

cURL Examples

Paste any of these directly into the import dialog to see how they convert. Simple GET request
GET with headers and query param
POST with JSON body
PUT to update a resource
DELETE request
POST with Basic Auth
You can copy cURL commands directly from your browser’s DevTools. Open DevTools → Network tab → right-click any request → Copy as cURL.

What Gets Imported

When you paste a cURL command, Requestly extracts:
  • HTTP method (-X, --request)
  • URL and query parameters
  • Headers (-H, --header)
  • Request body (-d, --data, --data-raw, --data-binary)
  • Basic Auth credentials (-u, --user)

What’s Next?

Save to a Collection

Organize imported requests into collections

Add Environment Variables

Replace hardcoded values with reusable variables

Import from Postman

Migrate entire Postman collections