How to use the API key in Javascript?
<p>I've been trying to figure out how to use <a href="http://docs.trnbattlefield.apiary.io/#" rel="nofollow noreferrer">this API</a>, but I'm not sure what it means by needing to "populate the TRN-Api-Key header with your personal API key.". Where would I do this to get results from the API? If I just try putting the API url with all the things filled out in my browser it doesn't give me a response since I need the API key, but I can't put it in the URL (at least it's not saying anything on how/where to put it). So I was just wondering how to put the API key in so it will let me see the results? Thank you :)</p>

<p>Here's the API I'm trying to use: <a href="http://docs.trnbattlefield.apiary.io/#" rel="nofollow noreferrer">http://docs.trnbattlefield.apiary.io/#</a> </p>

<p>BTW, I'm trying to do this with HTML and Javascript / jQuery.</p>