A JavaScript Library that has functions to directly make HTTP GET, POST, PUT and DELETE Requests.
1.0.0 : Uses ES5 Prototypes and callback functions
2.0.0 : Uses ES6 Classes, Fetch API and .then() to handle Promises
3.0.0 : Uses ES7 Async and Await
- Add the
easyHttpV2.js(filename indicates the version) to your project to use the library. - Create an object
const http = new easyHTTP();. - Method available are :
- GET :
http.get() - POST :
http.post() - PUT :
http.put() - DELETE :
http.delete()
sampleV2-V3.jsis an example of how to use the methods, for your reference.
MIT License