QuestionsCategory: Questionshow-to-save-angular-7-form-data-into-php-mysql-with-laravel-5-7
kartic maity asked 1 year 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

Positive SSL