originally posted in:BungieNetPlatform
View Entire Topic
Been working on a stats class this morning. I can seemingly access every end point excluding
http://www.bungie.net/platform/Destiny/[membershipType]/Account/[accountId]/Character/[characterId]/Complete/
Keeps telling me to login, I am logged in and passing cookies. Anyone else have a similar problem?
English
-
Some of the endpoints require a higher-than-normal authorisation level. If you're getting the one saying "WebAuthRequired", you need to pass your CSRF token in a separate header. See here: [url=https://github.com/dazarobbo/BungieNetPlatform/blob/master/BungieNetPlatform/BungieNetPlatform/RequestingUser.cs#L31]https://github.com/dazarobbo/BungieNetPlatform/blob/master/BungieNetPlatform/BungieNetPlatform/RequestingUser.cs#L31[/url] [url=https://github.com/dazarobbo/BungieNetPlatform/blob/master/BungieNetPlatform/BungieNetPlatform/Platform.cs#L33]https://github.com/dazarobbo/BungieNetPlatform/blob/master/BungieNetPlatform/BungieNetPlatform/Platform.cs#L33[/url] Assuming that's the problem of course.