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

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

Player Features and Ideas Discussion

 
  • Topic is locked indefinitely.
 

Feature request: cross origin support in EVE API

Author
Washbucket
Dreddit
Test Alliance Please Ignore
#1 - 2013-08-24 03:48:39 UTC
I had a idea for a html/js app using the Eve API.

However my idea won't work because the API does not have CORS enabled.

Quote:
XMLHttpRequest cannot load https://api.eveonline.com/char/AccountBalance.xml.aspx?keyID=x&vCode=x&characterID=x. Origin http://localhost:8080 is not allowed by Access-Control-Allow-Origin.


So my feature request is to have CORS enabled so websites could interact with the Eve API without needing a proxy server.

Thanks,
Washbucket
Cade Windstalker
#2 - 2013-08-24 06:27:30 UTC
I want to say that you can already do this, sort of, by testing your site in the in-game browser. The downside being that it will only run in the in-game browser.

Do not take this as gospel my knowledge of the Eve API is limited but I do know that API calls of some sort work through the in-game browser.
Washbucket
Dreddit
Test Alliance Please Ignore
#3 - 2013-08-25 10:42:57 UTC
Cade Windstalker wrote:
I want to say that you can already do this, sort of, by testing your site in the in-game browser. The downside being that it will only run in the in-game browser.

Do not take this as gospel my knowledge of the Eve API is limited but I do know that API calls of some sort work through the in-game browser.


What you are talking about is the in game browser API. I am referring to the Eve API ( not sure if there is a different name ) which is made for out of game stuff.