How can I pass data in one page to another page?
Let's say I have a search bar that sends request to an endpoint when search button is clicked. This also redirects to a new page and I want to display the response data from the api call in the new page. To do this, I need to be able to pass the response data to the newly redirected page after search button is clicked. How can I achieve this?