REST APIs in Gatsby at Runtime
4 min readApr 24, 2020
--
This is a step-by-step tutorial on how to call external REST APIs in Gatsby at runtime using Axios.
This tutorial assumes you already have a Gatsby App up and running. If you are new to Gatsby, they have a great starter tutorial and documentation.
The Gatsby docs describe how you can add a REST API call in your app at Buildtime. You do this by using the createPages API in the…