Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By Torah
#27359 Thank you for your time, lajolo. I am sure it works fine. You can not access it because I close the dns server. When I open it, I can make record use web browser by http://planto.oicp.net/add.php?temper=22, but however when successfully upload the .ino file, it makes no additional record.

lajolo wrote:Hello,

in your code you want to access the website:
http://planto.oicp.net/add.php?temper=22

From my browser I cannot access it.

Are you sure that the address is correct?

Can you access it from your browser?
User avatar
By lajolo
#27367 Hello,

does you code work when you try the WiFiWebClient example?

Code: Select allconst char* host = "www.google.com";
.........
client.print(String("GET /search?q=arduino") + " HTTP/1.1\r\n" +


If that works, I think the problem is with your httpd access and I would open a specific topic about that.
User avatar
By Torah
#27369 I tried the WiFiWebClient example before, the esp12 chip can connect the wifi too. But with change in GET url address, the data can not be recorded either.

lajolo wrote:Hello,

does you code work when you try the WiFiWebClient example?

Code: Select allconst char* host = "www.google.com";
.........
client.print(String("GET /search?q=arduino") + " HTTP/1.1\r\n" +


If that works, I think the problem is with your httpd access and I would open a specific topic about that.