how do you create a form which does a HTTP POST to an API on another site when submit button is pressed?

+1 I just came up with the exact same question.
Wix code kinda looks and feels like jQuery, but I can’t find a post method.
Anyone have some sample code of how to post to an external API?

Just searching through the docs now, and I found this:

It looks like what we need, what say you?

Hi,
You can create an onClick event to the submit button and use the fetch function to post to the other API.

Good luck :slight_smile:
Tal.