1

I'm getting 404 error in the console when I try to send a $http.post to a php file. I have added these 2 lines in the php file, but it still doesn't work. The Post request works fine in Chrome.

header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept");
Joedie 123
  • 337
  • 1
  • 4
  • 10
  • Could be a bad certificate http://stackoverflow.com/questions/24371734/firefox-cors-request-giving-cross-origin-request-blocked-despite-headers?rq=1 – dave Aug 16 '16 at 07:14

1 Answers1

0

You can try a firefox extension like Rest Easy

Dan M. CISSOKHO
  • 1,070
  • 1
  • 12
  • 27