You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are having a web server, On the dashboard page trying to fetch the data dynamically.
Using the HTTPS server, Not able to trigger a function to read the data from a defined global variable.
To achieve this tried two approaches:
Approach 1:
Tried to increment the value in the loop and fetched the data in a node. But the data is updated only when the page is refreshed not sure how to update a dynamic value inside the registered node.
Approach 2:
Try to integrate an ajax call to fetch the data from the dynamic value but I can't find a way to call an internal function to fetch the data and can't find any examples for that.
On the normal web server can able to call a function using an ajax API call to fetch the data dynamically but an HTTP function (void handleEcho(HTTPRequest * req, HTTPResponse * res);) is not able to fetch the data.
It always prints the data as an HTML page but we need the response data to update in the registered node.
We are having a web server, On the dashboard page trying to fetch the data dynamically.
Using the HTTPS server, Not able to trigger a function to read the data from a defined global variable.
To achieve this tried two approaches:
Approach 1:
Tried to increment the value in the loop and fetched the data in a node. But the data is updated only when the page is refreshed not sure how to update a dynamic value inside the registered node.
Approach 2:
Try to integrate an ajax call to fetch the data from the dynamic value but I can't find a way to call an internal function to fetch the data and can't find any examples for that.
On the normal web server can able to call a function using an ajax API call to fetch the data dynamically but an HTTP function (void handleEcho(HTTPRequest * req, HTTPResponse * res);) is not able to fetch the data.
It always prints the data as an HTML page but we need the response data to update in the registered node.
Trying to achieve this HTTP example with an HTTPS server
(https://circuits4you.com/2018/11/20/web-server-on-esp32-how-to-update-and-display-sensor-values/)
ESP32 Module
Please provide the specifications of your module
ESP32-ETHERNET-KIT-VE
The text was updated successfully, but these errors were encountered: