Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php cors error

Access-Control-Allow-Headers does not allow * as accepted value, see the Mozilla Documentation here.

Instead of the asterisk, you should send the accepted headers (first X-Requested-With as the error says).
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #cors #error
ADD COMMENT
Topic
Name
7+7 =