Search API Connector Documentation

Print

Import cURL Requests

Overview

Many API services provide documentation on how to make API requests using cURL, a very popular command-line tool for interacting with APIs.  For example, here’s a screenshot from Shopify’s API documentation.

import-export-img7

API Connector provides a cURL import tool to let you easily import these snippets directly into your API Connector workspace.

cURL Import Tool

Click Add-ons > API Connector > Import / Export > Import cURL to access the cURL import modal:
import-curl-img1

Once the modal opens, copy and paste in the entire cURL snippet, like this:

import-curl-img2

Now, just click the import button to automatically parse and open the request in the API Connector sidebar:

From here you can edit, run, and save the request, just as if you’d entered it manually.

Previous Import Configuration Files
Next Request Logging

Leave a Comment