I\'m having some troubles in making a HTTP request inside a loop.
Let me explain what I have....
I make an http GET to retrieve some values and then I need t
Did you forget to use your looping variables i and j. The code above will keep making requests with body[0] as src and body[1] as dest for the duration of the loop provided body has length >= 2. Try using https://github.com/caolan/async#forEachOf or https://github.com/caolan/async#each for calling async functions in a loop.