i am trying to send messge though discord web hook but it giving me " HTTP 400 (Bad Request) "
i dont really know why if anyone could help i would be thankful
the code
This is because when testing in studio the requests are made from your own IP to discord, not the actual Roblox server. Discord has blacklisted Roblox servers specifically, not your own personal IP.
This also means that plugins or in-game server scripts you run during studio testing can IP grab you.
but tho it send the message i just tested in roblox not in studio , thanks i didnt know that in studio they are using ur ip, my script worked fine in roblox server and it send the webhook successfully but it have something with the embed i think i might didnt write it right ,
The Status Code 400 means Bad Request. Did you check your headers? Did you encode the data into JSON before sending the POST request? HTTP is very strict about the headers. One single error is all it takes to unleash a 400 error. - Riley the IT whiz