These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Allow (Cross Origin Resource Sharing) CORS for new API

Author
ArmEagle Kusoni
Knights of Nii
The 20 Minuters
#1 - 2012-12-02 08:18:35 UTC  |  Edited by: ArmEagle Kusoni
Could you allow Cross Origin Resource Sharing (CORS) for the new API?
See http://www.html5rocks.com/en/tutorials/file/xhr2/#toc-cors for details.

Setting the header "Access-Control-Allow-Origin: *" will allow Ajax requests from scripts on other domains to pull data from the API. That way one could make a HTML5 'app' that doesn't have to rely on a server to play request proxy. This also so users don't have to trust the developer not to log anything with such a 'proxy'.
Nix Anteris
The Dark Space Initiative
Scary Wormhole People
#2 - 2013-01-01 18:01:34 UTC
Do it.