File Based API Routes
Learn how we can set up API routes with Nuxt.
We'll cover the following...
The Pixabay API had a base URL of https://pixabay.com/api/
. We can add parameters to the end, such as: https://pixabay.com/api/?key=${apiKey}&q=sea
The URL string was how we made requests for the image data we wanted, but how could we ...