[openstack-dev] How to set API Service cross domain when using javascript to invoke Rest API

xiangxinyong xiangxingyong at qq.com
Fri Sep 2 02:51:10 UTC 2016


Hi guys,

when we are using ajax to invoke OpenStack Rest API, 
We get the error messages about the cross domain:


Response to preflight request doesn't pass access control check:
No 'Access-Control-Allow-Orgin' header is present on the requested resource.
The response had HTTP status code 401.


Could someone give suggestion about this question?
Thanks very much.


Best Regards,
    xiangxinyong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160902/eadead97/attachment.html>


More information about the OpenStack-dev mailing list