Request Promise never resolves or rejects.
Closed this issue · 1 comments
dragonfire535 commented
const snekfetch = require('snekfetch');
snekfetch
.post('https://strawpoll.me/api/v2/polls')
.send({ title: 'Cats', options: ['1', '2'] })
.then(res => console.log(res.body))
.catch(console.error);
The console never logs the body, no error is caught. Nothing at all happens 🤔 . Nothing except massive memory rise.