Skip to content

Data sources: API

Configuration

URL

Points to the endpoint for the request.

Use {propertyName} anywhere in the URL to replace it with the value of the property. E.g. https://some.api/endpoint/{someId}

Method

This is where you specify which request method the REST API expects for the specific endpoint. Normally, this would be GET if you are reading data, or POST if you are sending data.

GET

If you chose GET, you will be able to set auto-fetch, which, if enabled, will send the request immediately after starting the application.

GET will populate the properties you created with the values received from the server.

POST

With POST, you will have the option to send the data either as part of the request body or header.

All the properties you create for the data source, and their values, will be sent to the server when you trigger the request.

Triggers

You may set up triggers, anywhere in your application, to send the API requests. Read more about this in the following page:

Data source basics