JS call discord webhook (help) HTML / JS

Status
This thread has been locked.

FelixDev

Typical Developer and Designer
Premium
Feedback score
9
Posts
1,113
Reactions
331
Resources
0
I am trying to make when they click a button, It sends a message with webhook discord.
But I haven't really understood the logic and how to use it in js, I see a lot of PHP tutorials of it but can't find any js? Anyone knows?
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

FelixDev

Typical Developer and Designer
Premium
Feedback score
9
Posts
1,113
Reactions
331
Resources
0
?
 

Blake

Software Engineer
Supreme
Feedback score
7
Posts
48
Reactions
11
Resources
0
I doubt there are many frontend-enabled libraries for sending webhook requests, so if you're wanting to do it without a backend you'll have to do it manually. Or you can make that send a request to a backend and have your backend process the webhook request.
 
Status
This thread has been locked.
Top