0

I was working on E-commerce project and it was working well and there is no problems, when I deleted the products table and create it again with the same migration page code it worked well from Postman but in angular when I run the project it shows this error The Errors

Osama Amr
  • 149
  • 1
  • 2
  • 13
  • In the api you need to configure the allowed origins. In this case you need to add the angular localhost and port to the api. This is more a question depending on the language/framework your API is using. – Ben L Sep 05 '21 at 02:07
  • I am working with laravel – Osama Amr Sep 05 '21 at 02:33
  • 1
    Does this answer your question? [Response for preflight does not have HTTP ok status in angular](https://stackoverflow.com/questions/52047548/response-for-preflight-does-not-have-http-ok-status-in-angular) – GreyBeardedGeek Sep 05 '21 at 02:34
  • no it doesn't bro – Osama Amr Sep 05 '21 at 02:59
  • Which port your api is hosted on can you try hitting on that Eg . http://localhost:/mobitech/... – PTak Sep 05 '21 at 05:43

0 Answers0