You can not allow xhr call to cross domain. Otherwise it would be very risky to allow third party script in your domain code. Here we will go through some of the ways cross domain can be made.
1. Proxy Route
II. Adding Access-Control-Allow-Origin in the header
No comments:
Post a Comment