Preflight OPTIONS request by AngularJS not working with Chrome?

前端 未结 5 944
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-18 14:52

I have developed a simple application using AngularJS hosted here. I am consuming an API I developed myself in Laravel hosted here. When I try to log into the application us

5条回答
  •  臣服心动
    2021-01-18 15:42

    The Access Control is a server responsibility, you need config this in Laravel.

    Use this package: Laravel Cors this helps very much.

提交回复
热议问题