Using cURL Commands
You can create a REST Connector via a cURL command. Simply paste your cURL command into the Create Connector from cURL Command field and accept/click to create your Connector.
Here is an example cURL command that creates a REST Connector with a GET HTTP Method:
1
curl 'http://en.wikipedia.org/' -H 'Accept-Encoding: gzip, deflate, sdch' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' -H 'Referer: http://www.wikipedia.org/' -H 'Connection: keep-alive' --compressed
Copied!
Steps
  1. 1.
    From the Home menu, select Connectors.
  2. 2.
    Select New REST Connector.
  3. 3.
    Paste your cURL command into the Create Connector from cURL Command field.
  4. 4.
    Click on the green check mark button to confirm.
  5. 5.
    If the cURL Command is valid, you should now see the Edit Connector page, where you can fetch a preview and complete the Connector setup.
Example
Last modified 10mo ago
Export as PDF
Copy link