How would you build a contact form which submits user feedback and contact details to a back end API?

Technical