JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

"Updates, discussions, and documentation of the BungieNetPlatform API."

Request Join
originally posted in:BungieNetPlatform
Edited by TheMikeZ: 8/17/2015 8:25:56 PM
1

Front End Developer Confused About How to Access the API (by Proxy) in Local Environment

Hi all - sorry for the noob question, but here goes: I'm a front-end developer and I've got some sketches ready for an app I'd like to create. [b]I've read extensively regarding CORS, and how it is not enabled for the Destiny API, and need to use a proxy server. For the LIFE of me, I can't get this working.[/b] I've tried the Grunt plugin (grunt-connect-proxy) to try to set up a proxy, and I've messed with my settings on my LAN to no luck. I've been using Postman ([url]https://www.getpostman.com/[/url]) to perform lookups and hit the endpoints and plan out my app, however now that it's time to actually pull from the API from local development environment, I can't make things click. Postman even generates code snippets, so I've tried via XHR, AJAX, PHP, cURL, and a few others. Ooph. I have extensive experience with JavaScript (vanilla + jQuery), JSON, MySQL + SQL - so once I am able to hit the API I'll be off to the races. Can anyone point me in the right direction in regards to how I might begin to work with the API from localhost? The goal here is to eventually wind up in a PhoneGap/Cordova deployment when all is said and done.

Posting in language:

 

Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • Edited by Just Dan: 8/17/2015 8:25:05 PM
    Wow. I think that this may need to be addressed elsewhere. This is the #help forum with technical issues within the game. Try #Bungie. you can edit your original post to include the #.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

    2 Replies
    You are not allowed to view this content.
    ;
    preload icon
    preload icon
    preload icon