I want to send a GET request with URL params specified by some components in retool. The issue that I have is that when the components are empty I don't want the params to appear at all (instead of sending
I tried different things:
- Adding the URL params normally, but this results in the API telling me that
Noneis not a valid choice.
- Using an empty string when the field is not selected results in the API telling me that
"is not a valid value:
- Manually building the URL, saving it in a temporary state and adding that temporary state to the URL results in the
?being encoded as
What are my options here? As soon as I try to move the
? to the URL retool identifies it as a URL param and adds another
= to the end of the query which makes it fail.