When using the following in my index.html
window.authorizations.add("key", new ApiKeyAuthorization("api_key", key, "header"));
An Api_key header is generated instead of api_key with every request.
I solved the issue on the server side by catching every header like api_key no matter its case but I was wondering what was causing this.