title: What is the best way to store passwords and IDs in JavaScript?
body: <p>I have a weather app that sends a request to an API service. The URL requires a parameter of <code>id="e4adadfare33"</code> so the API knows you're a user. </p>
  
  <p>So far I'm storing that ID in plain text in my JavaScript file; however, I would like to make it more secure. And at the same time being able to send it as part of the URL. </p>
  
  <p>What is the best way to do this in plain JavaScript. </p>
  
  <p>Here's what the URL looks like:</p>
  
  <pre class="lang-none prettyprint-override"><code>http://samples.openweathermap.org/data/2.5/forecast?id=524901&amp;appid=b1b15e88fa797225412429c1c50c122a1
  </code></pre>