HTTP requests (GET, POST etc.) on ESP32
Re: HTTP requests (GET, POST etc.) on ESP32
Hi all, I am using the esp32 to read data from a sensor, and then POST it to the Thingspeak serve. When I connect to my house's Wifi network, the code executes flawlessly and the data appears on the website, when I connect to the internet via my phone's wifi hotspot, the code still executes, but it seems like the data doesn't go through to the server and it doesn't display, anyone have an idea what might be causing this?
Re: HTTP requests (GET, POST etc.) on ESP32
Hi andrew_p,
Any help is appreciated.
I am using same example and removed certificate authentication. I added Connection: close as you mentioned but not getting the expected response.andrew_p wrote:
UPDATE:
Connection: close header DOES the trick!!! 04_https_request example now works fine with POST request and ESP32 parses the server response without any problems.
Any help is appreciated.
Who is online
Users browsing this forum: Google [Bot], lironghua, SegmentationFault and 108 guests