Closed daniel-frenkel closed 2 years ago
Yes, very possible. I'm doing exactly that with ESPUI.
Port 80 is used by ESPUI, so you'll need to use port 8080 for WiFi Server GET. Other than that, nothing unusual needs to be coded.
BTW, this means your URL would look like this when sending to port 8080: http://192.168.4.1:8080/position?move=100
Yes, very possible. I'm doing exactly that with ESPUI.
Port 80 is used by ESPUI, so you'll need to use port 8080 for WiFi Server GET. Other than that, nothing unusual needs to be coded.
BTW, this means your URL would look like this when sending to port 8080: http://192.168.4.1:8080/position?move=100
- Thomas
Thank you!
That worked out perfectly
Can we change the port 80?
Yes, it is an argument to the begin
functions. See here.
ESPUI.begin(HOSTNAME, 0, 0, 12345);
to set port 12345.
This GUI is incredible. I currently use AsyncTCP to trigger GET requests. For example, I'll send this from a different device to trigger a movement.
Is it possible to send HTTP requests to change the values of something like a slider or switch?