|  | @@ -553,15 +553,25 @@ void http_server_netconn_serve(struct netconn *conn) {
 | 
	
		
			
				|  |  |  					netconn_write(conn, http_ok_json_no_cache_hdr, sizeof(http_ok_json_no_cache_hdr) - 1, NETCONN_NOCOPY); /* 200 ok */
 | 
	
		
			
				|  |  |  					ESP_LOGI(TAG, "http_server_netconn_serve: done serving DELETE /connect.json");
 | 
	
		
			
				|  |  |  				}
 | 
	
		
			
				|  |  | -				else if(strstr(line, "POST /reboot.json ")) {
 | 
	
		
			
				|  |  | +				else if(strstr(line, "POST /reboot_ota.json ")) {
 | 
	
		
			
				|  |  |  					ESP_LOGI(TAG, "http_server_netconn_serve: POST reboot.json");
 | 
	
		
			
				|  |  | +					netconn_write(conn, http_ok_json_no_cache_hdr, sizeof(http_ok_json_no_cache_hdr) - 1, NETCONN_NOCOPY); /* 200 ok */
 | 
	
		
			
				|  |  |  					netconn_close(conn);
 | 
	
		
			
				|  |  |  					netconn_delete(conn);
 | 
	
		
			
				|  |  |  					guided_restart_ota();
 | 
	
		
			
				|  |  |  					ESP_LOGI(TAG, "http_server_netconn_serve: done serving POST reboot.json");
 | 
	
		
			
				|  |  |  				}
 | 
	
		
			
				|  |  | +				else if(strstr(line, "POST /reboot.json ")) {
 | 
	
		
			
				|  |  | +					ESP_LOGI(TAG, "http_server_netconn_serve: POST restart.json");
 | 
	
		
			
				|  |  | +					netconn_write(conn, http_ok_json_no_cache_hdr, sizeof(http_ok_json_no_cache_hdr) - 1, NETCONN_NOCOPY); /* 200 ok */
 | 
	
		
			
				|  |  | +					netconn_close(conn);
 | 
	
		
			
				|  |  | +					netconn_delete(conn);
 | 
	
		
			
				|  |  | +					simple_restart();
 | 
	
		
			
				|  |  | +					ESP_LOGI(TAG, "http_server_netconn_serve: done serving POST restart.json");
 | 
	
		
			
				|  |  | +				}
 | 
	
		
			
				|  |  |  				else if(strstr(line, "POST /recovery.json ")) {
 | 
	
		
			
				|  |  |  					ESP_LOGI(TAG, "http_server_netconn_serve: POST recovery.json");
 | 
	
		
			
				|  |  | +					netconn_write(conn, http_ok_json_no_cache_hdr, sizeof(http_ok_json_no_cache_hdr) - 1, NETCONN_NOCOPY); /* 200 ok */
 | 
	
		
			
				|  |  |  					netconn_close(conn);
 | 
	
		
			
				|  |  |  					netconn_delete(conn);
 | 
	
		
			
				|  |  |  					guided_factory();
 |