Minor fix to specify format of endpoint