How to call third-party API interface when submitting a form

I am using webflow to create an activity landing page, which has a form submission. How can I bind the form submission action to submit data to a third-party interface?

In the simplest scenario, you just set the form’s action to your webhook URL, and your webhook handles the form content.

These things require more complex work, usually involving client-side JS and possibly a middle tier like serverless functions;

  • If you need to handle the response
  • If you want to show the form’s success / fail modes
  • If you need to prepare the data for your webhook as e.g. JSON
  • If your API interface is not CORS compatible