We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Any way to make the request synchronous as opposed to asynchronous ?
As in I want the request to fully complete, and callback executed before it runs the next command...
request.get 'http://myurl/', (req, res)-> text = res.text console.log text
Also off-topic, but is req suppose to return 'null' ? it is for me. (using this on Node.)
Thanks.
The text was updated successfully, but these errors were encountered:
the callback signature is (err, res) not (req, res) :p but nope, there wont be a sync api, in fact with node you cannot have a sync api
(err, res)
(req, res)
Sorry, something went wrong.
oh really? boo, thanks hah, I guess I'll have to figure out another way to do it then...
thanks for the correction, and all your diligence TJ ;)
np!
No branches or pull requests
Any way to make the request synchronous as opposed to asynchronous ?
As in I want the request to fully complete, and callback executed before it runs the next command...
Also off-topic, but is req suppose to return 'null' ? it is for me. (using this on Node.)
Thanks.
The text was updated successfully, but these errors were encountered: