curl command error: "Error on line 1: Content is not allowed in prolog."