Invoke command when called via HTTP