Skip to content

learn source code of axios, try to relize a light axios lib, keep making progress

Notifications You must be signed in to change notification settings

NikFranki/axios-relize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

axios-relize

Self-realizing an axios

flow chart

axios-flor-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

About

learn source code of axios, try to relize a light axios lib, keep making progress

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published