CORS blocked,failed
1.Failed to load resource: the server responded with a status of 500 () 2.Access to XMLHttpRequest at 'https://apixxxx.amazonaws.com/api/getuserdetails' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
working in local but while working with Api its shows error
+1
@Dhinendran or @lstroud could you provide a sample app and steps to perform to help reproduce this? It is a little hard to follow what may be causing this.
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.