It would be great if you could download the values of variables/localStorage to assist in troubleshooting. I am integrating some of my own APIs and I want to test them locally, so I would like to be able to download the value of localStorage from Retool so I can use this for testing.
1 Like
Hello @AlexJordi
For store the value in localstorage you can use this for example : localStorage.setValue(email1.value)
And for get the value use this : return the values using 'localStorage.values' from the query and download that data using event handlers and on run that query its download the data in csv form.
1 Like
Thank you! Another way I solved this is to use the console to send a request to a request bin. You can run something like this in the console :
- fetch("https://en37zkvaxje1b.x.pipedream.net/", {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
}, body: JSON.stringify(localStorage.values)})
You can get a public request bin by visiting this site
1 Like