FormData

A POST whose input is the form itself

addNoteFromForm() expects FormData. The validator checks that type, reads the text field, and throws if it is empty. A normal object will not pass. After a successful save, the loader runs again and the note shows up with a form: prefix.

No client call yet.

All examples