-
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Hyro edited this page Dec 9, 2021
·
5 revisions
Welcome to the hyttpo wiki!
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))