By studying about JSONP, I found that you are not allowed to make AJAX requests to a webpage perceived to be on a different server by the browser.So, I came upon the following query: The above is not always the case? When we access a web page, our browser is not always on a different server from the server where the back end code lives and where we refer the requests to? What exactly am I missing?
Ajax - About JSONP and the same origin policy
De openkb
Sommaire |
Questions
Answers
Source
License : cc by-sa 3.0
http://stackoverflow.com/questions/40412468/about-jsonp-and-the-same-origin-policy