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
But got
Thanks.
Hello,
I have noticed that unirest 0.6.0 is running asynchronously.
The code reproducing is
The excepted output is
But got
Thanks.