1.0.3 • Published 6 months ago
webt-fetching v1.0.3
webt-fetching
Features
Release Notes
Guide
Install
$ npm install webt-fetching
Using
import wFetching from 'webt-fetching';
wFetching.setup({
host: String | '',
header: Object | (Function > Object),
error: String | 'Response error!',
fail: String | 'Server error!',
});
//
wFetching.get(url, payload, options);
wFetching.post(url, payload, options);
wFetching.upload(url, payload, options);
wFetching.form(url, payload, options);
Options
options = {
silence: Boolean,
}