axios-relize
v1.0.1
Published
implement axios step by step
Downloads
7
Readme
axios-relize
Self-realizing an axios
flow chart
Installing
Using npm:
npm install axios
Using bower:
bower install axios
Using yarn:
yarn add axios
how to use
// Send a POST request
axios({
method: 'post',
url: '/user/12345',
data: {
firstName: 'franki',
lastName: 'jogh'
}
});
// GET a request
axios({
method: 'get',
url: 'http://sofun',
})
.then(function (response) {
console.log(response)
});
license
MIT