originally posted in:BungieNetPlatform
Hello all,
Does anybody have an example JSON output for the following API?
https://www.bungie.net/Platform/Destiny/' + platform.type + '/MyAccount/Vault/?definitions=false
So far I have been accessing these via web browser to get example output and then using the JSON text to do a conversion in to a matching class.
I have tried doing this one from a web browser but keeps saying that web auth is required. Even if I log in to bungie.net it still doesn't work.
I can do it in my app by writing some code that will just end up getting binned so thought I would post first.
Once I have the class set up it will work fine in my app as I already have the authentication working.
Regards
Matt
-
you can open any of the vault management web apps, and open the developer console and check the traffic :)
-
Make sure you are sending the cookies generated from authentication along with all your requests (and your API Key too). That's generally the reason why you would be getting asked to sign in on API calls.