You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to reproduce the issue:
1- Clone repo
2-Run yarn install
3- run ng serve
4-go to the signup section
5-Fill the section with username, email and password
6- click the submit button
Actual
I am getting the below error:
Access to XMLHttpRequest at 'https://api.realworld.io/api/users' from origin 'http://localhost:4200' 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 resource.
Expected
I can register.
More notes:
I have added the "Access-Control-Allow-Origin" header in the call but I am still getting the same error.
Steps to reproduce the issue:
1- Clone repo
2-Run yarn install
3- run ng serve
4-go to the signup section
5-Fill the section with username, email and password
6- click the submit button
Actual
I am getting the below error:
Access to XMLHttpRequest at 'https://api.realworld.io/api/users' from origin 'http://localhost:4200' 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 resource.
Expected
I can register.
More notes:
I have added the "Access-Control-Allow-Origin" header in the call but I am still getting the same error.
The text was updated successfully, but these errors were encountered: