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.

The cURL import tool will work with most standard cURL snippets, but not with graphQL or multi-part cURL requests.

cURL Import Tool

Click Extensions > API Connector > Import / Export > Import cURL to access the cURL import modal:
import-curl-menu

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, Save, and Run the request, just as if you’d entered it manually.

Previous Import API Requests
Next Request Logging

Leave a Comment

Table of Contents