How to handle empty form field to send to API?

This isn’t what I meant.

Set default values on the server side function, that is, the python function.