I am trying to send a request to a website a made for api requests. I am using the following code but I get HTTP 404 but when I test it it works just fine. Its not a local ip or anything just a website and I have had other people test it and they said it works.
local HttpService = game:GetService("HttpService")
local data = {"data"}
local headers = {
["apiKey"] = "TEST"
}
game.Players.PlayerAdded:Connect(function()
HttpService:PostAsync('http://api.example.tk/test?apiKey=TEST&RobloxId=123', HttpService:JSONEncode(data), Enum.HttpContentType.ApplicationJson, false, headers)
end)