petr4ppc Well-Known Member Licensed User Longtime User Aug 26, 2019 #1 Dear friends, maybe is it dumb question, but please, it is possible to send variables in URL via ESP8266 (ESP01)? for example - is it possible to send via ESP01 URL where is the name "Joe"? (this name will be then saved in database) http://www.herewillbesomepage.com/people.php?name=Joe Best regards p4ppc
Dear friends, maybe is it dumb question, but please, it is possible to send variables in URL via ESP8266 (ESP01)? for example - is it possible to send via ESP01 URL where is the name "Joe"? (this name will be then saved in database) http://www.herewillbesomepage.com/people.php?name=Joe Best regards p4ppc
Erel B4X founder Staff member Licensed User Longtime User Aug 26, 2019 #2 Yes. rHttpUtils: https://www.b4x.com/android/forum/threads/module-rhttputils2-http-client.74785/#content You can use JoinStrings to add the parameter to the URL. Upvote 0
Yes. rHttpUtils: https://www.b4x.com/android/forum/threads/module-rhttputils2-http-client.74785/#content You can use JoinStrings to add the parameter to the URL.
petr4ppc Well-Known Member Licensed User Longtime User Aug 26, 2019 #3 Erel, thank you very much, AMAZING, it is functioned perfect!! if I can ask one "dumb" question more : please if I want to read data from database on the web, I can use JSON in PHP? And I can read this output with ESP8266 similar as in B4J? Best regards and thank you very much p4ppc Upvote 0
Erel, thank you very much, AMAZING, it is functioned perfect!! if I can ask one "dumb" question more : please if I want to read data from database on the web, I can use JSON in PHP? And I can read this output with ESP8266 similar as in B4J? Best regards and thank you very much p4ppc
Erel B4X founder Staff member Licensed User Longtime User Aug 27, 2019 #4 petr4ppc said: please if I want to read data from database on the web, I can use JSON in PHP? And I can read this output with ESP8266 similar as in B4J? Click to expand... Always better to start a new thread for a new question. Yes you can read data in many ways. Code to help you parse json strings: https://www.b4x.com/android/forum/threads/json-parsing.107410/#content It is more limited than a full parser. Upvote 0
petr4ppc said: please if I want to read data from database on the web, I can use JSON in PHP? And I can read this output with ESP8266 similar as in B4J? Click to expand... Always better to start a new thread for a new question. Yes you can read data in many ways. Code to help you parse json strings: https://www.b4x.com/android/forum/threads/json-parsing.107410/#content It is more limited than a full parser.
petr4ppc Well-Known Member Licensed User Longtime User Aug 27, 2019 #5 I put the question here: https://www.b4x.com/android/forum/threads/esp8266-reading-json-from-php-on-the-web.109044/ Last edited: Aug 27, 2019 Upvote 0
I put the question here: https://www.b4x.com/android/forum/threads/esp8266-reading-json-from-php-on-the-web.109044/