ESP HTTP Client fetching old data

NPowers
Posts: 2
Joined: Thu Nov 29, 2018 10:57 pm

ESP HTTP Client fetching old data

Postby NPowers » Wed Jul 29, 2020 4:44 am

Hi,

I am working with the ESP_HTTP_CLIENT_EXAMPLE from the ESP-IDF examples folder to test fetching a JSON text file from a webserver. I am running into what I think is a caching issue using the http_perform_as_stream_reader. I run the code once and get the response I expect. I edit the file online and then re-run my code and the result is the old file data.

Is there a way to force the HTTP Client to request refreshed data similar to a web browser?

Thanks,
~Nick

Who is online

Users browsing this forum: No registered users and 138 guests