requeston
v0.0.2
Published
Yet another HTTP Client made simple with no support issues (uses XMLHttpRequest and Promise).
Downloads
7
Readme
Requeston
Yet another HTTP Client made simple with no support issues (uses XMLHttpRequest and Promise).
Supports simple use cases; right now only support for GET (POST and other will be implemented).
Size: ~ 1-2kb gzipped.
Install
npm install [email protected]
Run Demo
npm run demo
Usage
import Requeston from "Requeston";
GET
Requeston.get(this.baseUrl + "todos/1").then(response => { console.log(response); }, rejection => { console.log(rejection); })