description |
---|
Connect Jet Admin to any REST API. |
In addition to ready-to-use integrations, Jet Admin allows you to use REST API to connect to any tool you need to integrate into your workflow.
{% embed url="https://youtu.be/MlNuOS2sffQ" %}
To connect a REST API or another resource, first select Add Resource from the project menu to open the resource selection pane:
You can also implement your own custom API using API Builder. For instance, you can set up a GET
request to display orders your customers made or a POST
request to reset a password for a specific user.
{% content-ref url="../../data/make-an-http-request.md" %} make-an-http-request.md {% endcontent-ref %}
Let's start with implementing Rest API, select it from the list of available resources, and specify the general information that will use for all API requests for this resource:
- Resource name – unique name that indicates API resource in Jet Admin.
- Base URL – URL that will use for all requests for this resource (if you want to use different URL, create different resources for each URL).
- Authentication – used to authenticate requests: Bearer token, Basic Auth, OAuth 2.0.
Once you have connected a REST API, you will need to configure the requests in the Data Editor. For more information, please look at the Data Editor documentation here:
{% content-ref url="../../data/make-an-http-request.md" %} make-an-http-request.md {% endcontent-ref %}