This topic is closed dont click

please let me delete my post this is annoying

This works the best.

Can you show your code? rprxy.xyz will definitely fix it, so I’m not sure why you would be having issues if you’re using it.

2 Likes

I based this off of what roblox has on the wiki for RequestAsync

local tabletosend = {

userIds = {
420814938
}

}

local baseURL = "presence.rprxy.xyz/v1/presence/users"
local HttpService = game:GetService("HttpService")
local encoded = HttpService:JSONEncode(tabletosend)

local response = HttpService:RequestAsync(
{
Url = baseURL,
Method = "POST",
Headers = {
["Content-Type"] = "application/json"
},
Body = encoded

}
)


if response.Success then
	print("Status code: ", response.StatusCode,response.StatusMessage)
	print("Response body: /n",response.Body)
	else
		print("The request failed:", response.StatusCode, response.StatusMessage)
end

But the console still yells at me
consoleoof

That’s weird, I haven’t had any issues like that when using it with other endpoints. It seems to throw a different error when using HTTPS, but that’s not really helpful. Sorry I couldn’t help more.

2 Likes

Oh, that’s fine. I don’t really need to do it, just a little experiment.

1 Like