Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function fetchBody(url: string) { return popsicle.default(url).then(result => result.body) }
Advanced HTTP requests in node.js and browsers