Hide empty variable in request link

Hi @nickychengv, Why do you need to return the description? Descriptions are blank in your screenshot.


I don’t know the exact syntax, but you could try something like this (depending on your conditional statement);

pm.request.url.query.add("camera={{camera}}")

pm.request.url.query.remove("camera={{camera}}")

Some more info on this thread;