Creating Web API which can handle Nulls

Hi everyone,

I'm trying to do a simple web API which can handle nulls values, but I'm having problems using the if statement to set it up. Can someone please help me. Thank you

filter: a!queryFilter(

field: "name",

operator: "=",

value: if(isnull(http!request.queryParameters.name)," " ,http!request.queryParameters.name), )

  Discussion posts and replies are publicly visible