Questions tagged [cross-domain-proxy]

10 questions
5
votes
2 answers

Apache reverse proxy: how to redirect relative URLs in external site back to itself?

I need to bypass cross-site scripting restrictions in order to show users a map when they click a link from an external site which I have loaded inside an iframe (external.com/onlyforme). I learned that the easiest way to do this is to set up a…
user1752615
  • 91
  • 1
  • 2
  • 4
4
votes
1 answer

phonegap Android crossdomain not working

$('#loginForm').submit(function() { $("#loginsubmit",this).attr("disabled","disabled"); var u = $("#loginemail", this).val(); var p = $("#loginpassword", this).val(); var postTo =…
Ayesha
  • 255
  • 2
  • 10
3
votes
8 answers

Invoke JavaScript on 3rd party domain

I want to write some javascript and have it call into the DOM for a page I am loading from a 3rd party domain. Can this be done? This looks like what I've already tried using IFRAME but it would seem that doesn't work. Is these some other way like…
BCS
  • 75,627
  • 68
  • 187
  • 294
2
votes
0 answers

Cookie functionality on php cross domain proxy using cURL?

first time asker, but many times you helped me back in the day. Great job! I ask this because I'm struggling here with and issue I'm unable to solve, and as my PHP (and cURL) knowledge is so scarce, I'm lost. The Background I'm developing a…
deCorvett
  • 61
  • 1
  • 3
2
votes
1 answer

Cross-domain getJson request with Simple PHP proxy

Hi I'm trying to get data from an api that ONLY returns JSON rather than JSONP. Every time I try to get the data connecting as JSONP it doesn't work because I am not expecting JSON. So, I guess I have to use a PHP proxy to get past the…
mc5
  • 93
  • 1
  • 5
1
vote
1 answer

How to call .NET web service from ajax?

How to call .NET web service from ajax call? I am facing same origin policy error. How can I resolve that?
1
vote
2 answers

cross-site request

Should be done with the site number 1 request to the site number 2. Let the number one site will be localhost, and the site number 2 - the real server on the Internet. At site 2 there is a file result.php, which takes GET-requests: $var =…
Gena
  • 11
  • 1
0
votes
1 answer

How to avoid or perform Cross domain $.get when using ISA

I have the ajax query var url = "http://ISAServer.domain.com/WebSite"; $.ajax({ url: url, success: function (data) { alert('Load Successful'); }, error: function (data) { …
P.Brian.Mackey
  • 43,228
  • 68
  • 238
  • 348
0
votes
0 answers

SOAP and HTTP Services within the same ASP.Net Project

I have an existing web service project that is using SOAP messages to communicated back and forth. I have just created what should be an HTTP service called "AJAXWebServices" that has an attribute over the service class of…
0
votes
1 answer

Ajax call works on one host but not on another

I am making an ajax call to the UPS address validation webservice. If i make the call from my application with this domain it works (http://serverone.org/addrvalidator) But it doesn't work if i use the other domain or an ip address instead of the…