Http PostAsync only working in studio

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

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

2 Likes

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

Give this a good read, explains everything really.

If you still are wondering why Discord blocked it.