Skip to content

denlaku/ajax-util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

npm i --save ajax-util

Example

import ajaxUtil from 'ajax-util';
ajaxUtil.get({
  url: 'package.json',
  success: (result) => {
    console.log(result);
  }
});

Parameters

url @String
params @Object
success @Function
error @Function
before @Function
after @Function
headers @Object
sync @Boolean
timeout @Number
responseType @String

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages