I want to send all paths that start with "/robot" to a certain handler using ESP8266WebServer.h. I tried a few variations:
server.on ( "/robot", handleDirection );
server.on ( "/robot/", handleDirection );
server.on ( "/robot/*", handleDirection );
But in each case, it only listens for the exact path (including the * for that one).
Does this library just not support wildcard paths? Or am I missing how to do it?