1.1.0 • Published 5 years ago
next-httpclient v1.1.0
Next HTTP Service
const httpService = require('next-httpclient');
const res = await httpService.get('https://someurl/');
// Content-Type is set to application-json by default
const res = await httpService.post('https://someurl/', {
options
});