title: How to store a http request response in a local variable and use it within any of my files?
body: <p>My http requests response returns an Object and I don't know how to assign it to a local variable and use it around between different files. How would i do that?</p>
  
  <pre><code>    axios.post(url + '/qget?sub=' + sub)
      .then(data =&gt; console.log(data))
      .catch(err =&gt; console.log(err)); 
  </code></pre>
  
  <p>I just want to take the response <code>data</code> and assign that to a variable I could export and use in my other files</p>