I've been developing a new site using Angular for the frontend and PHP's Slim framework for the API. I've been developing in Chrome (and with Postman) and have had no issues. I tested in Firefox today, and all API responses fail with the error:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://api.opweekends.local/users/authenticate. (Reason: missing token ‘content-type’ in CORS header ‘Access-Control-Allow-Headers’ from CORS preflight channel).
I have Access-Control-Allow-Headers
set to *
(and verified in the console), so I can't figure out why it's working in Chrome and not Firefox, and why this error is coming up. Shouldn't *
cover all headers?