Proxy requests to an API

Step-by-step guide on how to proxy requests to an API (using the _proxy_).

Pre-requisite: creation of an integration and at least one connection.

The Proxy lets you query external APIs easily with credentials injection, request logging, and pre-configurations for base URLs, rate-limits, retries, etc.

Here is an example of how to query external APIs with the proxy, using the SDK and API:

try 
    });

    // Response was 200!
    // See https://axios-http.com/docs/res_schema
    console.log(res.data);
} catch (error) 
curl -X POST -H 'Content-Type: application/json' \
-H 'Authorization: Bearer ' \
-H 'Provider-Config-Key: ' \
-H 'Connection-Id: ' \
-d '' \
'https://api.terapi.dev/proxy/'

Questions, problems, feedback? Please reach out in the Slack community.

Last updated