any-http-jquery

0.1.0 • Public • Published

AnyHTTP adapter for jQuery

AnyHTTP adapter for the jQuery library.

Usage

This adapter is implemented as an ES6 module which can be installed with jspm and loaded via SystemJS as follows:

import {Http} from 'github:argo-rest/any-http-jquery';
 
var httpClient = new Http;
httpClient.
  get('https://example.com').
  then(({body, headers}) => {
    console.log("body:", body);
    console.log("content-type:", headers['Content-Type']);
  });

Readme

Keywords

Package Sidebar

Install

npm i any-http-jquery

Weekly Downloads

5

Version

0.1.0

License

Apache-2

Last publish

Collaborators

  • theefer