 
   server.on( "/api/ntpinterval", []()
   {
-    //time_t sntpInterval = 0;// SNTP_UPDATE_DELAY;
-    //char buff[40];
-    //snprintf( buff, sizeof(buff), "%s", sntpInterval );
     server.send( 200,  textPlainHeader, String( SNTP_UPDATE_DELAY / 1000 ) );
   });
 

      }

      newPWMDepth = server.arg( "newpwmdepth" ).toInt();
      if ( newPWMDepth < 10 || newPWMDepth > 16 ) {
        server.send( 200, textPlainHeader, "ERROR - Invalid PWM depth" );
        return;
      }
      if ( ledcNumberOfBits != newPWMDepth )
      {
        for ( byte channelNumber = 0; channelNumber < NUMBER_OF_CHANNELS; channelNumber++ )
        {
          ledcSetup( channelNumber, ledcActualFrequency, newPWMDepth );
        }

    // https://stackoverflow.com/questions/8323159/how-to-convert-uint64-t-value-in-const-char-string
    // cardsize = uint64_t
    // length of 2**64 - 1, +1 for nul.
    char content[21];
    snprintf( content, sizeof( content ), "%" PRIu64, SD.cardSize() );
    server.send( 200,  textPlainHeader, content );
  });

  server.on( "/api/files", []()
