Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

PostAsync is not sending?

Im trying to send data to my website to log the players name and there age.

i know there is nothing wrong with my site because i use a program called fiddler to send data and test it.

how i send data with fiddler and url http://example.com/?name=lel&age=6666666 it says sent but when i check my site does not show any changes or ad-dons i have no clue why it wont send. I have tried multiple things to debug this. i looked everywhere and could not find any solutions

some help would be greatly appreciated.

hs = game:GetService("HttpService")
myContent = ""
succes = pcall(function()
	hs:PostAsync("http://example.com/?name=ScripterOmega&age=999999999",true)
end)

if succes then print('Data Sent') end

2 answers

You didn't specify the data type. Correct me if I'm wrong, I don't know much about HTTPService but I do believe it uses an ENum data type system.

3 comments

0

ill try that and see if it works thx for the tip commag

0

http://wiki.roblox.com/index.php?title=API:Class/HttpService/PostAsync — I advise you use all the arguments or it could cause it to break

0

If you are talking about the second argument, no. It uses a number system.

This discussion is preserved as it was. New answers, comments, and votes are closed.