Notice: Undefined index: action in /var/www/html/web/api/api.php on line 3