How to use axios. In the video you will learn how make HTTP requests and API calls with axios. You will learn the the following requests GET, POST, PUT, DELETE, create and axios instance, set up a config for axios, set default URLs and Headers.
Help support the channel: https://www.buymeacoffee.com/tommykelly100
Source Code: https://stackblitz.com/edit/react-csarir-axios?file=src/App.js
Instagram https://www.instagram.com/tommykelly100
Facebook https://www.facebook.com/tommyKelly100CodingTutorials
Table of Contents:
00:00 - Introduction
01:21 - Installing axios
02:25 - axios.get
06:32 - axios.post
08:27 - axios config
10:34 - axios.put
14:01 - axios.delete
15:07 - axios.create
18:29 - Promise.all Multiple requests
21:07 - axios.defaults.headers.common
#react #rest api #reactjs