Skip to content

mayuska/ajax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Basic vanilla js ajax handler

Methods

Methods
.post(url, data, callback)
.get(url, callback)
.put(url, data, callback)
.delete(url, data, callback)

Example how to use it

var ajax = require('simple-ajax-handler');
var url = 'index.html';
var sendData = {
    // your data
};
ajax.post(url, sendData);

About

Simple vanilla js ajax hander

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published