Hello!
I have a tricky situation using a web request with optional query parameters.
One of my parameters is set by the user using a text edit field. If the user completely deletes the string themself everything works as expected since the variable has no value in Appfarm(undefined maybe?). If I try to set the string to null in an action the web request will send the parameter as null. Imagine the parameter is called myParameterString.
If the user presses backspace enough times before calling the API:
https://someurl.com/myAPImethod?parameter1=foo
If I clear the string with an update action before calling the API:
https://someurl.com/myAPImethod?parameter1=foo&myParameterString=null
This might be working as intended. But I need another way of clearing the string. Using a function with return '';
seems to be blocked by Appfarm. Is there any other workaround?