What is AXIOS ?
AXIOS is an HTTP library thay makes it easy to send HTTP requests and handle responses in web applications. It provides a simple and intuitive API to perform common HTTP operations like GET,POST, and DELETE. AXIOS can be easily configured to work with a wide range to REST/GraphQL APIs.
Get Started with Axios
You can install Axios in your project using npm or yarn.

Make HTTP Request (GET)
We can used Axios to request API endpoints with different HTTP methods like GET, POST, PUT, etc.

Make HTTP Request (POST)
Axios can take a object as its second parameter. This object is the request body that we send along thye API call.





Leave a comment