Creating Your First REST Datasource
To illustrate creating a Datasource, we'll use a public RESTful API called “Rest countries” as an example: https://restcountries.com/
Just like we did the first time then when we created our first SQL Datasource, we need to head to the Datasources tab in the PocketQuery administration. Here, we can create another Datasource:

These are the values we’ll go with for our first REST Query:

# | Field | Value |
---|---|---|
1 | Name |
|
2 | Type |
|
3 | Base URL |
|
4 | Test path |
|
As http://restcountries.com does not require any authentication, we don’t need to configure any custom headers or parameters. Simply hit “Test connection” after you’ve entered everything, and if PocketQuery can connect, create your Datasource.

Sweet! We can now fire requests at our new REST Datasource, we’ll just need to create a new Query.
Continue with “Creating Your First REST Query“