Hi, there could be many problems and without any code, it is hard to see, where a problem might be. Check variables, if you hide the response variable of your application in the response statement.
Another problem could be, that your application has to finish his work in the callback of the request (REST-API). If you do the request, but the application logic works not in the response callback, the request is started, but not handled. Ok, hope that helps a little bit. Thomas Am 18.04.2017 um 15:02 schrieb SC: > Hi, > > I have a nodejs application, in which I am making a call to another rest > service. > > When I directly call that rest service from a simple request response > node application, it works just fine from the command line. > > But when I make the same call from the application mentioned above, I do > not get any response. > > What could be going wrong? > > Thanks, > SC > > -- > Job board: http://jobs.nodejs.org/ > New group rules: > https://gist.github.com/othiym23/9886289#file-moderation-policy-md > Old group rules: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > --- > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nodejs/02a80c1c-f090-423e-9b5a-753be67e4b39%40googlegroups.com > <https://groups.google.com/d/msgid/nodejs/02a80c1c-f090-423e-9b5a-753be67e4b39%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout. -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/5372f677-8751-7889-ad1f-0974e4eb0114%40gmx.de. For more options, visit https://groups.google.com/d/optout.
