What is the best way to do conditional form parameters?

I need to call a search api. It is a POST where the search terms are form parameters. However, the JavaScript in the application that does the posting omits any empty fields.

I’m going to simulate this using a feeder. If a column in the feeder is empty, I need to omit sending that field.

My current plan is to construct the POST body manually. But is there a better, easier way?

Have you tried passing a function where you pass an empty String when the column doesn’t exist?