Import from cURL

Getting Started
Installation
Setup
Inspect Traffic
HTTP Rules (Modify Traffic)
Session Book
Mock Server
API Client
File Server
Workspace
Public API
Guides
TroubleShooting
Subscription & Billing
Getting Started
Installation
Setup
Inspect Traffic
API Client
HTTP Rules (Modify Traffic)
Mock Server
File Server
Workspace
Public API
Guides
Session Book
Subscription & Billing
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