credentials
This commit is contained in:
@@ -130,7 +130,8 @@ const webhookPost = webhookUrl + "/submit-data";
|
|||||||
const res = await fetch(webhookUrl, {
|
const res = await fetch(webhookUrl, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json"
|
"Content-Type": "application/json",
|
||||||
|
"credentials": "include"
|
||||||
},
|
},
|
||||||
body: JSON.stringify({ uuid }) // send uuid in request body
|
body: JSON.stringify({ uuid }) // send uuid in request body
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user