How to send odk form instances to my web application?

I want to build a web application that will accept odk forms.

What should my web app be configure so that after i insert my web app url on ODK mobile app, the forms are sent and saved in my database or filesystem?

See for the API Collect uses to send data.