XML : CORS REQUEST: How to retrieve xml from java server page(jsp) and store as string in javascript/jquery

How do this? Say i have api on another domain i do not own that has origin set to null. this api has url /website/api/something.jsp this rest api call returns an xml file. How do I get this xml file using javascript and store it as string all while avoiding origin mismatch errors. it is just a GET request.

No comments:

Post a Comment