Onion
1
function pozt(data) {
try {
fetch(
"url",
{
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({ content: data }),
}
)
} catch (e) {
console.error(e);
}
}
returnz failed to fetch
wh0
2
wait how do you make that backward Z?
anyway, can you open the network panel in the F12 dev tools and see how it’s failing
Onion
3
i dont zee a backwardz z lol
wh0
4
403 could be from not passing the authentication token that you need
wh0
6
how does discord authenticate webook requests?
Onion
7
I have no idea, which iz why im azking on the forum
you should censor out the url in that image as that’ll let anyone post anything to your webhook.
I can only point you to the discord docs: Discord Developer Portal
system
Closed
9
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.