Script help on sending webhooks

Hello i’ve recently tried to send a webhook and loadstrings and they haven’t worked can you guys help me

Error: HttpPost is not a valid member of DataModel

local url = ""
local data0 = {"example"}
local newdata0 = game:GetService'HttpService':JSONEncode(data0)

Error: HttpGet is not a valid member of DataModel

loadstring(game:HttpGet("example", true))()

If you are wondering why i’m using Httpost its because i want to send it from a local

You’re supposed to use HttpService. HttpGet is ancient technology at this point.

Also, you can’t send requests from the client.