Making API requests
An overview of HTTP request
Last updated
An overview of HTTP request
Last updated
To quickly connect a custom API, use HTTP Request Builder. You can make GET
request to visualize order data in the Table component or POST
request to reset a password for a specific user.
Watch the video below on how to get API Builder set up!
There are two options for creating API requests via Data or Visual Builder.
To open the API Builder from the Table, follow the steps:
From the UI Builder, drag-and-drop Table to the Canvas
Select Rest API as Data Source
in Data
Select Make Http request
as Collection
To pass Values to API Builder, such as charge
you need to specify Inputs. To do it, follow the steps:
Add new Input
field in the API Builder
Specify the test value
Pass the Input value of the key in the column Value
Click on the Run
button to send a request
Click on the Save button to save it
Transform JSON API response using a Visual or Javascript Response Transformer.
Response TransformerApply ascending or descending sorting to fields from your response.
Sorting dataAPIs like to send data back in pages. By default, you only get 1 page. You will need to ask for more. In your API docs, there should be a section called Pagination.
PaginationThe Search feature allows you to search for text, dates, or numbers within all records and fields of the result of a REST API response.
The search feature works automatically on the client side query operations. But to set the search function on server side query operations, you have to add a "search" parameter in the query parameters and pass {{search}} as its value.
By applying the Search query parameter, now the search box will filter all data on all rows and columns with the value typed in the search box.