serve rest on an special uri
I would like to run static webpages and the rest service parallel, it seems as long as i pass the client handle from webservice to rest, it is not possible anymore to serve other content ... but may be i am wrong....
i would like to have the rest service on /rest/digital etc...
and serve my UI on / or /ui/index.html
is that possible ?
Thanks in advance
BR Lars
I've been using this code on #152 :
WiFiClient espClient;
WiFiClient espClient2;
which creates 2 clients to handle two different tasks.
how so sou handle, which Client processes which uri ?
how do you...
i had a look on #152 do the clients run on the same port? i think rest and mqtt client use different ports....
Hello, that's outside of the core of aREST for now, I'd look at the official HTTP server example from the ESP8266 repo to see how to do that :)