Tag: crossorigin
-
How to enable CORS (Cross Origin Resource Sharing) for specific domains in Spring Boot?
For security reasons, browsers don’t allow javascript code to call APIs deployed in domains other than the current domain in which the javascript code is deployed. So if your javascript code is in a.com you cannot call an API deployed in b.com. So if you have deployed an API developed in Spring Boot in b.com…