Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By mrburnette
#50351
kenn wrote:A question for you Martin, or any other smart person 8-) : of the different library choices for making HTTP requests, do you have a preferred library? If so, why: better syntax, faster method, smaller binary, etc?

Thanks. I've just moved over to the Arduino way of using ESP8266. It seems that this is where the most action is.


@kenn, what specifically are you wishing to do? I'm not really fond of all the libraries out, excepting MQTT which covers a lots of territory. Most simple GET/POST can be done without using external libraries just with the Arduino services.

I have a few very simple examples up on my Hackster site.
and one new one that I have not yet put together but the code is here:
http://www.esp8266.com/viewtopic.php?f=29&t=10025&start=4#p50296

Ray
User avatar
By kenn
#50376
mrburnette wrote:@kenn, what specifically are you wishing to do? I'm not really fond of all the libraries out, excepting MQTT which covers a lots of territory. Most simple GET/POST can be done without using external libraries just with the Arduino services.

I have a few very simple examples up on my Hackster site.
and one new one that I have not yet put together but the code is here:
http://www.esp8266.com/viewtopic.php?f=29&t=10025&start=4#p50296

Ray


Hi Martin and Ray - maybe 'library' is the wrong word. I'm just noticing that there's apparently a few different ways to make HTTP requests - eg using ESP8266WiFi, ESP8266WiFiMulti, ESP8266HTTPClient. As I learn these, I am just wondering which is best to use. Thanks for the examples, I'll study those.