Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 727 Bytes

README.md

File metadata and controls

15 lines (13 loc) · 727 Bytes

Axios

Axios is a Promise-based HTTP client for JavaScript which can be used in your front-end application and in your Node.js backend. By using Axios it's easy to send asynchronous HTTP request to REST endpoints and perform CRUD operations. The Axios library can be used in your plain JavaScript application.

Uses

Make XMLHttpRequests from the browser Make http requests from node.js Supports the Promise API Intercept request and response Transform request and response data Cancel requests Automatic transforms for JSON data Client side support for protecting against XSRF

This Program

Is an example of using axios to get JSON data, an Image file, some text, deal with a HEAD request, GET request and a POST request.