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

How to Use PostAsync()?

Asked by
Shawnyg 4330 Trusted Badge of Merit Snack Break Moderation Voter Community Moderator
10 years ago

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

Log in to vote
0
Answered by
Bebee2 195
10 years ago

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.

0
The third parameter of PostAsync is optional, because it says "HttpContentType content_type = ApplicationJson" Thewsomeguy 448 — 10y
0
Could you possibly give an example? Shawnyg 4330 — 10y
Ad

Answer this question