HTTP requests (GET, POST etc.) on ESP32

vdWes911
Posts: 1
Joined: Mon Jul 10, 2017 9:39 pm

Re: HTTP requests (GET, POST etc.) on ESP32

Postby vdWes911 » Mon Jul 31, 2017 9:25 am

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?

amruta
Posts: 18
Joined: Mon Aug 21, 2017 10:03 am

Re: HTTP requests (GET, POST etc.) on ESP32

Postby amruta » Tue Aug 14, 2018 9:59 am

Hi andrew_p,
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.
I am using same example and removed certificate authentication. I added Connection: close as you mentioned but not getting the expected response.
Any help is appreciated.

Who is online

Users browsing this forum: No registered users and 72 guests