API V2 authorization explanation

API V2 authorization explanation

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

I might be blind, but looking through some pages here and at Wiki I see only example like:

https://api.guildwars2.com/v2/account/materials
Authorization: Bearer <API key>

But really, no explanation as to what is “Authorization: Bearer <API key>”-part and how should it be forwarded? Some header or what? Maybe add this little explanation to those not so Pro in development to the http://wiki.guildwars2.com/wiki/API:2 page?

Thx in advance.

API V2 authorization explanation

in API Development

Posted by: Lawton Campbell

Lawton Campbell

Web Programmer

It’s an HTTP header. The documentation needs to be improved, it’s just not something I’ve been able to get around to yet.

API V2 authorization explanation

in API Development

Posted by: DarkMagister.7429

DarkMagister.7429

Thank you for a fast response.

API V2 authorization explanation

in API Development

Posted by: Eearslya.6309

Eearslya.6309

I’ve also updated the wiki page so hopefully this confusion can be avoided in the future.

Blackgate
Harbinger Tryssa – Revenant