Web Form post to External URL

Hi, I am creating a custom dashboard for a business. Their website is hosted on Wix and I would like to retrieve the web forms that customers complete.

Ideally I could post the data from the forms to my dashboard URL where I will be able to collate them but if there is another way i’d be grateful of the support.

Thanks

Stu

Hi,
In order to post information to an external URL, you can use the post method of the Fetch API. Click here to learn more about it.

Best,
Tal.

I am using this code:

fetch(bookbiblestudyAPI, fetchOptions).then( (httpResponse) => {
if (httpResponse.ok) {
console.log(httpResponse);
}
else {
console.log(httpResponse);
}
}). catch ( (error) => { console.log(error); });

It can access my api url get get some response but there is no post value sending on my API, Do you have any clue how can I fix this ???

Hi,
I’m not sure what you were trying to achieve. Do you try to post information to your API or get information from your API? Moreover, note that the type of information you should receive depends on the API itself.

Best,
Tal.

@Tal, can you provide some help for the code challenged? I’m just looking for how I set the ACTION url like this - All the rest of that stuff is a foreign language to me.

I’m having a hard time with something that should be simple.
I am creating a form that to access a system.

The form has only login and password. I’m trying to use the corvid api for this.

Action: https://triunfoeventos.siefor.net.br/sistema/alu/logadm.php
Method: Post

How can I do this ?

@guilhermemf Hi, your post is buried in an old thread. To get support from the community, please create a new post following our guidelines here . Thank you!