Custom API Get call in Bottom Sheet : How to pass data to page

Resolved

Hi. Need help or idea.

I have a bottom sheet where I call an API, which returns JSON data. I would like to use that data in a page. It seems like the JSON path that I have created can't be used in a page other than that bottom sheet.

So how do I pass that data to a page, is it by creating a page state (type JSON)? How do I parse the JSON body data to be use in that page?

Thank you

5 replies