ESP8266: HTTP GET Requests

preview_player
Показать описание
Check the full post at my blog:

This video explains how to do HTTP Get Requests with the ESP8266 and the Arduino IDE libraries.

Related content:
More about the ESP826:

HTTP Status codes:

REST API testing website
Рекомендации по теме
Комментарии
Автор

I get this error when trying to upload
call to 'HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url)

thetimer
Автор

i have question if i used node mcu that will make difference ? in code

abdalahbesho
Автор

can I upload this code to the esp-01 module?

electronicsfun
Автор

sir can you please explain how extract this dictionary data

DharmeshTechZone
Автор

can you gave me http code for sending data from esp8066 to website

danielworkneh
Автор

Hello!

I was wondering how can i send a request from a hosted php page (not local) to my esp8266 ?

I have used GET command on ESP to read something from my php page. But i don't want to make so many reads from php page. I want to do something with my ESP when a request comes from my php page.

Tried solution:
I have read some articles about makeing ESP8266 a server, connect it to the internet via router, port forward configuration for it and then make a Dynamic DNS through some specialized sites(ex: No-ip).
This worked, but now, after i've bought a domain and a hosting with database... i want to use my own DNS for this(to somehow map my local IP address with my own domain names not with the names provided by my router).

How to do that?
Any ideas or articles to read that should resolve my problem ?

Thank you!

vladdobra.a
Автор

If it takes some time to get the payload back, do I have to wait for not missing it ?

shakirahsanromeo
Автор

What are conditions to use http.getString();

varadwattamwar
Автор

How to use ESP8266WiFi.h library with Arduiono Uno Board.

tolgasahin
Автор

please make a video n how we can connect our own server to nodemcu to on or off led

testsachin
Автор

Mano, adoro teu site...
Uma dica? arrume um dublador, teu inglês é broken!

posso te ajudar com isso se quiser, mas tive dificuldade em saber se vc era brasileiro ou russo, o SEGNAL entregou a brasilidade

Kaka-zscp
Автор

How to download the ESP8266WiFi.h library?

mattrebong