Closed dearfrankg closed 3 years ago
@dearfrankg can you try doing the same thing with node-fetch
? This is what cross-fetch
uses behind the scenes for node environments.
Same problem with node-fetch.
I will post the issue on their module page.
Feel free to add any comments if you ave any.
// global.fetch = require("cross-fetch");
global.fetch = require("node-fetch");
Thanks @dearfrankg ! closing this for now.
I'm getting an incorrect response when using: response.text()
More details and script here: https://hastebin.com/feloheweve.http
CORRECT TEXT RESPONSE using postman
ACTUAL TEXT RESPONSE from response.text()