How to collect data via a form and send it to a REST API?

How can I collect data via a form and send it to a REST-API? I would like to capture certain information and save it in a database programme with REST-API (Ninox), as the data will be further processed there.
At the moment I have solved the problem via an intermediate SQLITE DB, but then I always have to actively trigger the retrieval of the record.

@chalvi, You could create a custom form action, which can be caught at the server when the form is being submitted. Then get the values of the form and submit it to the remote server.

See the docs and example in section Custom Actions of the Forms documentation.