airavata-courses/Brogrammers

Integrating Communication between Gateway and web module

ishita-kumar opened this issue · 2 comments

Spring Boot and Design

Unable to Consume a Published API from React Front end through Axios request.

Getting following Error -

access to XMLHttpRequest at 'http://localhost:8080/rest/login' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested reso

Issue resolved, cross origins decoration added.
Commit ID 5a6748a