Skip to content

Library written in JavaScript to make HTTP requests easier.

License

Notifications You must be signed in to change notification settings

salikadave/EasyHTTPLibrary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EasyHTTPLibrary

A JavaScript Library that has functions to directly make HTTP GET, POST, PUT and DELETE Requests.

Versions

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

How-to :

  1. Add the easyHttpV2.js (filename indicates the version) to your project to use the library.
  2. Create an object const http = new easyHTTP(); .
  3. Method available are :
  • GET : http.get()
  • POST : http.post()
  • PUT : http.put()
  • DELETE : http.delete()
  1. sampleV2-V3.js is an example of how to use the methods, for your reference.

Copyright

MIT License

About

Library written in JavaScript to make HTTP requests easier.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published