Answer
Same-origin policy blocks external requests.
Solutions:
• CORS enabled by server
• JSONP for GET requests
Allows safe cross-domain communication.
Solutions:
• CORS enabled by server
• JSONP for GET requests
Allows safe cross-domain communication.