setting up more for idk, rust servers i guess
This commit is contained in:
parent
09f3ea62f2
commit
d8740cdb73
4 changed files with 35 additions and 4 deletions
|
@ -67,9 +67,9 @@
|
|||
/* console.log(JSON.stringify(data)); */
|
||||
fetch("http://localhost:4242/health-form", {
|
||||
method: "POST",
|
||||
headers: {
|
||||
"Content-Type": "multipart/form-data",
|
||||
},
|
||||
/* headers: {
|
||||
* "Content-Type": "multipart/form-data",
|
||||
* }, */
|
||||
body: data
|
||||
}).then((res) => {
|
||||
console.log(res);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue