Page 1 of 1
HTTP Post values
Posted: Sat Apr 15, 2017 4:47 pm
by tj1010
The real reason to use POST over GET is GET has a very small buffer limit with most HTTP server configurations. Putting a variable in URL on a POST request is still GET. Can we get POST variable to send longer data?
Re: HTTP Post values
Posted: Sun Apr 16, 2017 4:54 pm
by Num3
You can already use post on requests:
Code: Select all
parameters.s = "username="+GetGadgetText(#String_user) + "&password="+GetGadgetText(#String_pass)
HTTPRequest(#PB_HTTP_Post, "https://yoururl.com/login.php",parameters, @login_callback())
Re: HTTP Post values
Posted: Sun Apr 16, 2017 8:55 pm
by tj1010
I see that after looking at it under wireshark. I just read the doc and didn't get to testing yet.
I thought it was like PureBASIC.