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 admin. Here, we can create a new Datasource again.

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

Field

Value

Name

REST Countries

Type

REST Custom

URL

https://restcountries.eu/rest/v2

As restcountries.eu 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