Skip to content

Tired of writing huge XHR Objects or Fetch API Headers When Requesting To An EndPoint? Well Small AJAX is just for you!

License

Notifications You must be signed in to change notification settings

kabeer11000/small-ajax.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

small-ajax.js

Tired of writing huge XHR Objects or Fetch API Headers When Requesting To An EndPoint? Well Small AJAX is just for you!

Usage

GET Request

Data will be added as URL Parameters

smallajax.get( 
  /* URL */ '/test.php',
  /* DATA */ {foo: 'bar'},
  /* Callback */ function() {});

POST Request

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.

About

Tired of writing huge XHR Objects or Fetch API Headers When Requesting To An EndPoint? Well Small AJAX is just for you!

Resources

License

Stars

Watchers

Forks

Packages

No packages published