How can I submit form values via the API?