Post command structure

cstangor

Member
Licensed User
Longtime User
OK, thanks, but there's only one example of the poststring command that I see, and I don't understand it:

job2.PostString("http://www.b4x.com/print.php", "first key=first value&key2=value2"

what is the "first key=first value&key2=value2" about?

This would seem to be something like:
"http://www.b4x.com/print.php?first key=first value&key2=value2

..but that wouldn't be possible I don't think.

I've tried putting the "?..&..." part as the data to the call, but that doesn't work.

Thanks again.
 
Upvote 0

cstangor

Member
Licensed User
Longtime User
So there is no difference between get and post? I was told by my host that I needed to use POST.

Thanks
 
Upvote 0

barx

Well-Known Member
Licensed User
Longtime User
GET sends the parameters as part of the URL POST sends them 'behind the scenes' so to speak.
 
Upvote 0
Top