goodservice
v0.0.3
Published
good call api service
Downloads
6
Readme
Good Service
Install
npm install goodservice
Import single
import {goodservice} from 'goodservice';
Import and create instance
import 'gooddialogs/dist/base.min.css';
import {GoodService} from 'gooddialogs';
const goodservice = new GoodService('URL');
Use
const response = await goodservice.GET<any>('/my-endpoint')
With Options
const response = await goodservice.POST('/my-endpoint', {/* Options */})