iHTTP

iHTTP is a simple JavaScript library for making simple json based http(ajax) requests.

Example usage

const http = new iHTTP(); //initialize and load iHTTP library instance
const data = {
name: 'john doe',
username: 'johny',
email: '[email protected]'
}
http.post(url, data)
.then(response => console.log(response))
.catch(error => console.log(response));

Github Link

  • Javascript
  • ES6
  • fetch api
  • promises