Ajax call works on one host but not on another

249 Views Asked by At

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 domain (http://servertwo.org/addrvalidator).
Both the domain names are intranet only domains.

Any help appreciate, thanks in advance.

1

There are 1 best solutions below

0
Misiakw On

take a look at this, probably this is the answer you were looking for: Cross-site AJAX requests