Corrected endpoint and formatted