I am trying to use the WoW game data API, but I am running into CORS issues.
I make a request to fetch a list of realms via
https://eu.api.blizzard.com/data/wow/realm/index. To specify the namespace, I opted for the
Battlenet-Namespace header as documented at
https://develop.battle.net/documentation/guides/game-data-apis-wow-namespaces (at the very bottom).
However, the browser reports that the API request was blocked due to the token
battlenet-namespace missing in the CORS header
Access-Control-Allow-Headers from the CORS preflight channel. I looked at the preflight response and it indeed does not contain this header:
If I understand this correctly, the Blizzard API would need to allow the namespace header explicitely in order for my request to work. Am I missing something here? Is the header not supported any more?
Thanks & cheers!