Http PostAsync only working in studio

#1

Hey, I’m trying to get a discord webhook to work.

local data = {
    username = player.Name,
    content = " says hi",
}
http:PostAsync(url,http:JSONEncode(data))

However this only works when I test it in studio, not in-game. In-game I get this message

1 Like

#2

Discord blocked Roblox. Change discordapp.com to discord.osyr.is and it will work.

2 Likes

#3

Oh… what was the reason? Assuming there is one
And thanks

0 Likes

#4

Give this a good read, explains everything really.

0 Likes

#5

If you still are wondering why Discord blocked it.

0 Likes