Support for form submission via API

Change-Id: I2a2325d8c05978c5bf0edf602ec28573fea919e7
Merge "Support for form submission via API" into frontend-rewrite