<How can I get request.query.size as empty value i...
# stackoverflow
r
How can I get request.query.size as empty value instead of length of the structure when the query parameter isn't sent I am trying to dynamically generate a list with N entities, the quantity can be set using the query parameter size as the following GET /search?size=15. I want to set a default value for it when the query parameter size isn't sent as the following GET /search. I am using Response Templating (therefore using Handlebars) I am using WireMock...