[ensembl-dev] Cross-Origin Resource Sharing (CORS) for the REST API?

Thomas Down thomas.a.down at gmail.com
Wed May 15 10:18:38 BST 2013


Would it be possible to add CORS support to to this API?  This would allow
the API to be used from browser-based clients without having to jump
through the JSONP hoops.  The full spec is here:

      http://www.w3.org/TR/cors/

But for a publicly-accessible API, all that's really needed is to add the
header:

      Access-Control-Allow-Origin: *

to all responses.

Best wishes,

                 Thomas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20130515/a6ee8538/attachment.html>


More information about the Dev mailing list