Simple endpoint to run a command