Axios post on form submission


I have a form on my webflow website. I have no experience with webflow as someone else is designing it. All I need to do is collect the form data and send it to an external api endpoint of Odoo.

I’ve read this is possible using axios and would like to use this.

How can I do this in webflow? I’ve written the logic to collect all the data from the form fields but can’t get them to console.log.

Anyone have any tips?

Thanks in advance!

did you found a solution for this?