Answer the question
In order to leave comments, you need to log in
How to enable CORS in AWS Elastick Beanstalk?
On AWS there is a PHP apishka, EC2 instance, as I understand it, on apache. I tried to add lines to .htaccess
Header add Access-Control-Allow-Origin "*"
Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type"
Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question