I have the following doubt I am receiving data as follows:
var Getcola= JSON.stringify(response.data);
localStorage.setItem("GetMycola", Getcola);
var cola1= localStorage.getItem("GetMycola");
var Mycola = JSON.parse(cola1);
As you can see, they are json and I keep them inside a variable and then use them like this:
Mycola.rut
Returning: 18.334.655-5 (ex.)
The problem that this code is configured in the controller that makes the request and ask how variable use to show the result in the html? Greetings.