-
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Hyro edited this page Dec 14, 2021
·
5 revisions
NEW GUIDE: https://garlic-team.js.org/guide/hyttpo/
You can use:
hyttpo.request({ ...params })
hyttpo.METHODNAME(url, { ...params })
hyttpo.request({
url: 'url',
method: 'GET'
})
.catch(e => e)
.then(res => console.log(res))
hyttpo.get('url')
.catch(e => e)
.then(res => console.log(res))
Documentation: https://garlic-team.github.io/hyttpo/