HttpAddRequestHeaders(Data, PChar(HeaderAuth), Length(HeaderAuth), HTTP_ADDREQ_FLAG_ADD); 将最后一个参数换成 HTTP_ADDREQ_FLAG_ADD即可