techknight Well-Known Member Licensed User Longtime User Dec 27, 2016 #1 I am using okHTTPutils to talk to my PHP scripts on the server. Well, I currently have my username and password hash in the GET tags. So I actually want to move those to POST for obvious reasons. Problem is, I dont see any documentation how you can put multiple entries in a POST like you can GET?
I am using okHTTPutils to talk to my PHP scripts on the server. Well, I currently have my username and password hash in the GET tags. So I actually want to move those to POST for obvious reasons. Problem is, I dont see any documentation how you can put multiple entries in a POST like you can GET?
DonManfred Expert Licensed User Longtime User Dec 27, 2016 #2 techknight said: Problem is, I dont see any documentation how you can put multiple entries in a POST like you can GET? Click to expand... i dont understand the question What exactly you want archieve? Upvote 0
techknight said: Problem is, I dont see any documentation how you can put multiple entries in a POST like you can GET? Click to expand... i dont understand the question What exactly you want archieve?
techknight Well-Known Member Licensed User Longtime User Dec 27, 2016 #3 B4X: $new_loads = $_POST['new_loads']; $new_firstname = $_POST['new_firstname']; $new_lastname = $_POST['new_lastname']; $new_organization = $_POST['new_organization']; $new_email = $_POST['new_email']; $new_usertype = $_POST['new_usertype']; I just discovered PostMultiPart which I THINK will make it work. Upvote 0
B4X: $new_loads = $_POST['new_loads']; $new_firstname = $_POST['new_firstname']; $new_lastname = $_POST['new_lastname']; $new_organization = $_POST['new_organization']; $new_email = $_POST['new_email']; $new_usertype = $_POST['new_usertype']; I just discovered PostMultiPart which I THINK will make it work.
S sorex Expert Licensed User Longtime User Dec 27, 2016 #4 if you use .postString you just use B4X: dlj.postString(url,"username="& userhash &"&password="& passhash) multipart is something else and not needed for what you want to do. Upvote 0
if you use .postString you just use B4X: dlj.postString(url,"username="& userhash &"&password="& passhash) multipart is something else and not needed for what you want to do.
DonManfred Expert Licensed User Longtime User Dec 27, 2016 #5 yes, just leave the files value empty (null). PostMultipart is probably what you are searching. Upvote 0