I am using dataslots to dynamically update the URL for our HTTP API request.
The “URL Path” in the Web Service panel is defined as this:
This works perfectly in ReactStudio and I see a dozen rows of data updating nicely in the the DataSheet panel.
But when I export to a web browser (“Open in Web Browser”) the data is not populating.
When I dig through Developer Tools in Chrome in the Network panel, I see that the URL is:
and that the Query String is:
Which suggests that the embedded parameters are not being populated properly.
Here is the panel in the Datasheet window in React Studio:
Its worth noting that I tried to put the Query parameters in the Query box (as shown below) but now I get an “Error Loading data from API” error:
So, how should this be done?