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

How to Use PostAsync()?

I've read the Wiki about it, and I know how to use GetAsync, but I'm curious on how to input information on websites. Could somebody explain it differently than the Wiki does?

1 answer

✓ Accepted answer

3rd parameter of PostAsync is this. You'll need it.

First parameter is the URL you are posting to.

Second is a string (preferably JSON encoded table) that will be sent of to the website.

You have to figure out how the website handles the data.

2 comments

0

The third parameter of PostAsync is optional, because it says "HttpContentType content_type = ApplicationJson"

0

Could you possibly give an example?

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