0.0.2 • Published 5 years ago

requeston v0.0.2

Weekly downloads
4
License
ISC
Repository
github
Last release
5 years ago

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 requeston@0.0.2

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); })