1.6.0 • Published 5 years ago

@michaelcoxon/rest-client v1.6.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 years ago

rest-client

A simple REST client

Installation

The library is available on NPM...

npm -i @michaelcoxon/rest-client

101

The only implementation at the moment is for in-browser XMLHttpRequest.

use it like this...

import { XhrHttpClient } from '@michaelcoxon/rest-client'

const client = new XhrHttpClient();
const url = 'https://example.com/api/get-data';
const result = await client.getObjectAsync(url);
1.6.0

5 years ago

1.5.0

6 years ago

1.4.0

6 years ago

1.3.10

6 years ago

1.3.9

7 years ago

1.3.8

7 years ago

1.3.7

7 years ago

1.3.6

7 years ago

1.3.5

7 years ago

1.3.4

7 years ago

1.3.3

7 years ago

1.3.2

7 years ago

1.3.1

7 years ago

1.3.0

7 years ago

1.2.0

7 years ago