Dynamically add or remove null fields from the body of PUT and POST requests

Good Afternoon Retool Community,
Has anyone figured out a better way in Retool to dynamically add or remove null fields from the body (Form Data ) of PUT and POST requests in Retool. If we don’t populate all of the fields delineated in a request, the empty fields are sent to the API, which interprets their input as null, instead of not interpreting them at all?

1 Like

Shouldn’t this be handled by the API? Either the field is required when PUT or a POST or it is not.