Lightweight, intuitive http(s) requests.
npm install bespeak
import request from 'bespeak'
export default async function () {
const response = await request('pori.io')
// ...
}
import request from 'bespeak'
export default async function (json) {
const response = await request('api.likert.io/track', {
method: 'POST'
}, json)
// ...
}
MIT
pori.io · GitHub @pori · Twitter @pori_alex