Get service: Setting the request parameter and corresponding dynamic value
Hi, I am facing a syntax issue with setting the request parameter and its corresponding value for a Get service.
On Screen 1, I have the following code to store the value of a user-input string.
localStorage.setItem(giftListKey, mattress);
On Screen 2, I want to use this value to query for data in the Tiggzi database via Get service.
What request parameter should I use while setting up the Get service? "where" or "query"?
How can I make the value dynamic? I want to pull it via localStorage.getItem(giftListKey) but have not been able to make it work.
Appreciate your advice.
Thank you.