Can't read from server. It may not have the appropriate access-control-origin settings.

5,412 views
Skip to first unread message

Karthick Gunasekaran

unread,
Apr 21, 2015, 9:10:03 AM4/21/15
to swagger-sw...@googlegroups.com
When I access the endpoint service from swagger. I'm getting below error
Can't read from server. It may not have the appropriate access-control-origin settings.
How to resolve this issue,
please help me

Ron Ratovsky

unread,
Apr 21, 2015, 9:23:54 AM4/21/15
to swagger-sw...@googlegroups.com
You need to enable CORS support. More information here - https://github.com/swagger-api/swagger-ui#cors-support.

--
You received this message because you are subscribed to the Google Groups "Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
-----------------------------------------
http://swagger.io
https://twitter.com/SwaggerApi
-----------------------------------------
Reply all
Reply to author
Forward
0 new messages