techjoomla / com_api

API framework for Joomla
http://docs.techjoomla.com/joomla-rest-api/com-api-introduction
GNU General Public License v3.0
123 stars 97 forks source link

CORS issue for POST method call when CORS is set with domains name / names #65

Closed sushan05 closed 6 years ago

sushan05 commented 6 years ago

Steps to reproduce -

You will get the below error in console. - Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://xyz.com' is therefore not allowed access.

thite-amol commented 6 years ago

I have tested this issue with the latest package and working fine for me with multiple domains. If you face issue with please add steps to reproduce it.