@fhg-test/rest
v0.5.1
Published
API Client
Downloads
3
Readme
Installation
Use the package manager to install @fhg-test/rest
yarn add @fhg-test/rest
Usage
// initialize API Client
import rest from '@fhg-test/rest';
rest.init('http://localhost:9000/api');
// make a request
import * as rest from '@fhg-test/rest';
(async () => {
const booking = await rest.bookings.get('123');
})();