You're viewing a comment by Marco and its responses.

Marco Permalink
July 20, 2012, 09:59

Hi, i don't know how to call the proxy for retrieve the response.
I always get a proxy loop message.

I need to call the proxy with jquery and retrieve the body in a jsonp response.

Or if is not possible to call with another http.get nodejs request.

Thanks

Comment Responses

July 21, 2012, 17:28

Try something like this one:

proxy_response.on('data', function (chunk) {
console.log(chunck.toString()
}

Marco Permalink
July 23, 2012, 21:14

Thanks Ivan, but my problem is that i don't know how to pass the url parameter to the proxy.
I've tried with:
http://myproxy:myport/url=urltoget.com
http://myproxy:myport/u=urltoget.com
http://myproxy:myport/?url=urltoget.com
http://myproxy:myport/?u=urltoget.com
but i receive always the same message "Proxy loop!"

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the word "network": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.