handling CORS preflight request in Apache

前端 未结 3 1193
走了就别回头了
走了就别回头了 2021-01-02 19:29

I have a AngularJS app deployed using Yeoman. Cakephp RESTful backend.

The Angular app sends in OPTIONS preflight requests, which the backend responds with forbidden

3条回答
  •  心在旅途
    2021-01-02 20:18

    If it helps - I was using authentication so I also had to add following to make POST request work for me:

    
      Require valid-user 
    
    

提交回复
热议问题