RestService.cpp
/**
 * Root and Routing path presents a message to user on what is avalaible through
 * the LED service API.
 */
Root and Routing path presents a message to user on what is avalaible through
the LED service API.
Root and Routing path presents a message to user on what is avalaible through the LED service API .
static void _handle_root(void){
  String message = "IR Controlled LED Strip Web Service\n\n"
      "Routes:\n"
      "\t- / (GET) Arguments: none\n"
      "\t- /routes (GET) Arguments: none\n"
      "\t- /cached-state (GET) Arguments : none\n"
      "\t- /raw (GET) Arguments:[boolean] or none, (POST) Arguments:[byte]\n"
      "\t- /brightness (GET) Arguments:[boolean] or none, (POST) Arguments:[string]\n"
      "\t- /power (GET) Arguments:[boolean] or none, (POST) Arguments:[string]\n"
      "\t- /function (GET) Arguments:[boolean] or none, (POST) Arguments:[string]\n"
      "\t- /color (GET) Arguments:[boolean] or none, (POST) Arguments:[string]\n";
  server.send(200, "text/plain", message);
  state.uri = server.uri();
}
static void _handle_root ( void ) { String message = " \n \n " " \n " " \t \n " " \t \n " " \t \n " " \t \n " " \t \n " " \t \n " " \t \n " " \t \n " ; server . send ( 200 , " " , message ) ; state . uri = server . uri ( ) ; }
Root and Routing path presents a message to user on what is avalaible through
 the LED service API.
Root and Routing path presents a message to user on what is avalaible through the LED service API .