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));
- Javascript
- ES6
- fetch api
- promises
author
words 48
created Tuesday, May 21, 2019
tags #personal, #ihttp, #javascript, #lightweight, #library