API search with null values

Good day everyone! I'm trying to build a search API with NodeJS but I need to validate the values the users are sending, so if they send a null value, the API will only query for the other values. How can I do that? Thanks in advance.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.