Skip to content
Hyro edited this page Dec 14, 2021 · 5 revisions

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/