Click here to Skip to main content
16,022,737 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more: (untagged)
Hi,
I just trying to get a result from a http get request to another domain webpage. Here is my javascript funtion for the request:
function pegaCEP() {<br />          wRequest.set_url('http://cep.republicavirtual.com.br/web_cep.php?cep=13026075');<br />          wRequest.set_httpVerb("GET");<br />          wRequest.add_completed(completed);<br />          wRequest.invoke();<br />      }<br />

If I use set_url for a webpage in the same site, it works fine, otherwise it cames blank (not denied, just empty, no error). I was looking around and saw something about proxy... Do I need proxy here? If so, can you tell how to do it? If not, is there any web.config solution or something?

Posted

1 solution

Here[^] is a blog post on the subject.

 
Share this answer
 


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900