Open grizzlyfute opened 3 years ago
Hello,
I have noticed that unirest 0.6.0 is running asynchronously. The code reproducing is
unirest .post ("http://localhost/serverurl") .headers ({ 'Content-Type': 'application/x-www-form-urlencoded;' }) .end ((x) => console.log("OK " + JSON.stringify(x))); console.log("End");
The excepted output is
OK { json data } End
But got
End OK { json data }
Thanks.
Hello,
I have noticed that unirest 0.6.0 is running asynchronously. The code reproducing is
The excepted output is
But got
Thanks.