-
index.html Minimal html file to display on browser but all the magic happens inside the console
-
app.js: It uses a Free fake API for testing and prototyping the easyHTTP Library. More details about the API to which we are sending the request can be find here https://jsonplaceholder.typicode.com/
-
easyHTTP.js v1.0.0
- Uses ES5 AJAX and xmlHttpRequest.
- Prototypes provide the interface to this library to perform GET, PUT, POST, DELETE operation
- Uses callback function to perform operation asynchronously
- This is to make HTTP requests response using and XHR object much more simpler
- easyHTTP.js v1.0.02
- Uses ES6 FetchAPI.
- ES6 classes provide the interface to this library to perform GET, PUT, POST, DELETE operation
- Uses Promises for asynchronous operations
- This is to make HTTP requests response using the FETCH API even more simpler