Fetching data from an API is highly useful in many instances. Using the Remote Content widget, you can easily do that.
In this tutorial, we will see in action how we can fetch content from the public API following some simple steps.
For this tutorial, let's use this public API: https://dog.ceo/dog-api/
This API lets you display a random Dog image on each page load.
To start with,
set the URL of Endpoint that you want to query;
enable the "Incorporate in the page" toggle;
enable the "Data is JSON formatted" toggle for returning the data;
type the tokens containing Representative HTML code;
You have successfully used the API. Now, on every page reload a Random Dog image will shown. Like this, you can also use other APIs to fetch the content using Remote Content Widget.