adrianstanescu85 Active Member Licensed User Longtime User May 3, 2013 #1 Hi all, I'm trying to send a text string (no matter what the content) to a web form by using POST. To the point, this page here http://sicadonline.dlinkddns.com/form.php has a textbox and a Submit button that sends a string towards a database, so in the end all strings do appear on http://sicadonline.dlinkddns.com/list.php To do this by Basic4Android I tried using HttpUtils2: Dim job1 As HttpJob job1.Initialize("Job1", Me) job1.PostString("http://sicadonline.dlinkddns.com/post.php", "TEST TEXT") but even if I get no error, this doesn't seem to work, the TEST TEXT string is not sent and does not appear on post.php as it should. I'm kinda new to this, I tried searching this forum but this is what I got so far... is there any way you can help? In the second phase I will also need to download all the text strings from list.php... Thank you!
Hi all, I'm trying to send a text string (no matter what the content) to a web form by using POST. To the point, this page here http://sicadonline.dlinkddns.com/form.php has a textbox and a Submit button that sends a string towards a database, so in the end all strings do appear on http://sicadonline.dlinkddns.com/list.php To do this by Basic4Android I tried using HttpUtils2: Dim job1 As HttpJob job1.Initialize("Job1", Me) job1.PostString("http://sicadonline.dlinkddns.com/post.php", "TEST TEXT") but even if I get no error, this doesn't seem to work, the TEST TEXT string is not sent and does not appear on post.php as it should. I'm kinda new to this, I tried searching this forum but this is what I got so far... is there any way you can help? In the second phase I will also need to download all the text strings from list.php... Thank you!
Erel B4X founder Staff member Licensed User Longtime User May 3, 2013 #2 Use a tool such as FireBug that allows you to see the browser requests. You should send the string: string=TEST TEXT Code: Copy job1.PostString("http://sicadonline.dlinkddns.com/post.php", "string=TEST TEXT") Upvote 0
Use a tool such as FireBug that allows you to see the browser requests. You should send the string: string=TEST TEXT Code: Copy job1.PostString("http://sicadonline.dlinkddns.com/post.php", "string=TEST TEXT")