gameone Member Licensed User Dec 5, 2015 #1 Hi bro i am using b4a for some day, and i have some problem. I coudn't found how -> Doing a simple HTTP GET request with parameter like that "http://www.website.com/ask.php?ID=45&ID=23" -> This webpage is coded in PHP and show a simple text. (content of file is: <?php echo "test"; ?> I would like got "test" into a string. If there any way ? Some sample ? Thanks you.
Hi bro i am using b4a for some day, and i have some problem. I coudn't found how -> Doing a simple HTTP GET request with parameter like that "http://www.website.com/ask.php?ID=45&ID=23" -> This webpage is coded in PHP and show a simple text. (content of file is: <?php echo "test"; ?> I would like got "test" into a string. If there any way ? Some sample ? Thanks you.
gameone Member Licensed User Dec 5, 2015 #2 Ok, bro i got it but it's working only under Main Activity not in a service. I let you know bro, when i got it finished i let you know. I let you know too if i fail and if my code work only under Activity,Main. Upvote 0
Ok, bro i got it but it's working only under Main Activity not in a service. I let you know bro, when i got it finished i let you know. I let you know too if i fail and if my code work only under Activity,Main.
Erel B4X founder Staff member Licensed User Longtime User Dec 6, 2015 #3 You should use HttpUtils2. There shouldn't be any HttpClient object. HttpUtils2 works properly with services. Upvote 0
You should use HttpUtils2. There shouldn't be any HttpClient object. HttpUtils2 works properly with services.