Skip to content

Commit

Permalink
Reworked http;begin call to conform new ESP lib
Browse files Browse the repository at this point in the history
  • Loading branch information
hallard committed May 9, 2016
1 parent f0e4a19 commit 8069dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/Wifinfo/webclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8069dde

Please sign in to comment.