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?
    axios.post(url + '/qget?sub=' + sub)
    .then(data => console.log(data))
    .catch(err => console.log(err)); 
I just want to take the response data and assign that to a variable I could export and use in my other files
 
     
     
    