Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
3

how do I use postasync?

Asked by 9 years ago

i'm learning httpservice and I need help using postasync my code:

game.HttpService:PostAsync("google.com","search roblox")

1 answer

Log in to vote
4
Answered by
BlastNet 250 Moderation Voter
9 years ago

Uh, that's not entirely correct. Check out this: http://wiki.roblox.com/index.php?title=API:Class/HttpService/PostAsync

Here's an example:

hs = game:GetService("HttpService")
key = "sh123"
hs:PostAsync("http://yourwebsite.com/test.php?key="..key,true)
0
oh. wow. i was way off. thanks though, i can complete my game now! ilolallthetime 70 — 9y
Ad

Answer this question