Tired of writing huge XHR Objects or Fetch API Headers When Requesting To An EndPoint? Well Small AJAX is just for you!
Data will be added as URL Parameters
smallajax.get(
/* URL */ '/test.php',
/* DATA */ {foo: 'bar'},
/* Callback */ function() {});
Data will be added to Request Body
smallajax.post(
/* URL */ '/test.php',
/* DATA */ {foo: 'bar'},
/* Callback */ function() {});
Kabeers Network - Helpful things that make life radically easier.