Categories > Coding > Lua >
How do i make a post request from roblox?
Posted
Update: resolved
Im going to get a lot of hate for this one but im trying to post to my api and get data about someones key but when i send the request the server doesnt receive the request.
Code:
local http = game:GetService("HttpService")
local url= 'http://url/api/checkkey'
local function checkKey(key)
local response = http:PostAsync(url..'?key='..key)
return http:JSONDecode(response)
end
print("Creating request to: "..url)
print(checkKey("1234567890"))
I'm an idiot don't listen to anything I say
----------------------------------------------------
I make GTA Menus but failed at making lego cheats
Replied
thats cool and all but all i have to do is run this before the script
hookfunction(game:GetService("HttpService").PostAsync, function(...)
return true
end)
or something similar to that idk i dont do a lot of hooking but i do know that you need a lot more checks like hwid checks
Cancel
Post
Did I mention I use arch btw?
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post