QuestionsCategory: Questionshow-to-save-angular-7-form-data-into-php-mysql-with-laravel-5-7
kartic maity asked 8 months ago

Access to XMLHttpRequest at ‘http://localhost/blog/public/api/adduserdetails’ 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.
core.js:1673 ERROR HttpErrorResponse {headers: HttpHeaders, status: 0, statusText: “Unknown Error”, url: null, ok: false, …}
// this is my error,how to solve it

This site uses Akismet to reduce spam. Learn how your comment data is processed.

1 Answers
Your Answer

7 + 7 =

Positive SSL