[TIMOB-16620] Fixed typo, missing http require, and output formatting.