Using Fetch API with VueJS
About this course
For many years, I’ve been a huge fan of Axios (actually, I still am). It’s made API requests extremely modular, re-usable, functional, and so many other amazing benefits. However, when I learned about the Fetch API and it’s growing popularity, I had to check it out!
What is the Fetch API? According to Mozilla docs, “The Fetch API provides a JavaScript interface for accessing and manipulating parts of the HTTP pipeline, such as requests and responses.” I strive to limit dependencies in projects, so working on implementing the Fetch API in our projects made a ton of sense.
This course will show a side by side comparison of how to begin the migration from Axios to Fetch using VueJS.
What you'll learn
- - Update from Axios to Fetch API using VueJS
- - Upload files with the Fetch API
- - Perform simple API requests using the Fetch API