Home

Issue: 3033

Cannot find a way to create endpoints ?

[issue link]

Currently creating an application which will have a web form on it. This then needs to be submitted into Salesforce Pardot. I would like to do this via AJAX request rather than a normal form submit.

However there is CORS issues with doing this ajax request on the front end.

I cannot seem to figure out , searching through every single nuxt documentation page, where to simply put some backend node.js code which simply runs on the backend rather than the client.

From my Q above you can gather i need to send the formData to some backend code on the same nuxt server and then do a server axios request to get the data into pardot.

Any ideas or anything i am missing ?

This question is available on Nuxt.js community (#c2628)