Import from cURL

Category
API Client
API Client
FAQ
File Server
Getting Started
Guides
HTTP Rules (Modify Traffic)
Inspect Traffic
Installation
Mock Server
New Section
Public API
Sessions Replay
Setup
TroubleShooting
Workspace
Getting Started
Installation
Setup
Inspect Traffic
API Client
HTTP Rules (Modify Traffic)
Mock Server
File Server
Workspace
Public API
Sessions Replay
FAQ
Guides
New Section
TroubleShooting
Β 

Import from cURL

cURL is a command line tool and library used to transfer data with URLs.
You may load a request in the API Client from a cURL command.

Steps

  1. ClickΒ ImportΒ button in left sidebar. A dialog would open.
  1. Paste the cURL command in the text box.
    1. notion image
  1. ClickΒ ImportΒ button in the dialog footer. All the request fields parsed from the cURL command will be populated in the API client.
  1. ClickΒ SendΒ by editing some of the fields to see the response.
    1. notion image

Copy cURL from browser Network devtool

  1. Go to the website, right click and selectΒ InspectΒ from the context menu.
  1. Switch toΒ NetworkΒ tab.
  1. Right click on the request from which cURL is to be copied.
  1. SelectΒ Copy > Copy as cURL.
  1. Import the cURL in Requestly to edit and replay.
    1. notion image
Β 
Β