用IdHTTP调用webservice接口的问题
TIdHTTP *IdHTTP=new TIdHTTP(NULL);IdHTTP->HandleRedirects=true;AnsiString strRetData="";TStringStream *ResponseStream=new TStringStream("");AnsiString strURL="http://192.168.191.45:8888/comm/upload";TIdMultiPartFormDataStream *s=new TIdMultiPartFormDataStream();s->AddFormField("ID","1000");IdHTTP->Post(strURL,s,ResponseStream);strRetData=ResponseStream->DataString;ShowMessage(strRetData);delete ResponseStream;delete s;delete IdHTTP;