HTTP Post values

Got an idea for enhancing SpiderBasic? New command(s) you'd like to see?
tj1010
Posts: 201
Joined: Wed May 27, 2015 1:36 pm
Contact:

HTTP Post values

Post 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?
Num3
Posts: 18
Joined: Wed Apr 09, 2014 7:09 pm

Re: HTTP Post values

Post 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())
tj1010
Posts: 201
Joined: Wed May 27, 2015 1:36 pm
Contact:

Re: HTTP Post values

Post 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.
Post Reply