From 8069dde82f839953bcf299558ce57e4de426abd6 Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 9 May 2016 15:49:08 +0200 Subject: [PATCH] Reworked http;begin call to conform new ESP lib --- examples/Wifinfo/webclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Wifinfo/webclient.cpp b/examples/Wifinfo/webclient.cpp index 10ec024..c62b417 100644 --- a/examples/Wifinfo/webclient.cpp +++ b/examples/Wifinfo/webclient.cpp @@ -39,7 +39,7 @@ boolean httpPost(char * host, uint16_t port, char * url) unsigned long start = millis(); // configure traged server and url - http.begin(host, port, url, port==443 ? true : false); + http.begin(host, port, url); //http.begin("http://emoncms.org/input/post.json?node=20&apikey=2f13e4608d411d20354485f72747de7b&json={PAPP:100}"); //http.begin("emoncms.org", 80, "/input/post.json?node=20&apikey=2f13e4608d411d20354485f72747de7b&json={}"); //HTTP