T
ttcx
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure TForm1.Button9Click(Sender: TObject);
var url2:String;
s2,strm:TStringStream;
begin
url2:='xxxxxxxx';
s2:=TStringStream.Create('xxxxxxxxxx');
strm:=TStringStream.Create('');
IdHTTP1.Post(url2,s2,strm);
end;
编译正常通过
运行时报告 IdHTTP1.Post(url2,s2,strm) 出错
Debugger Exception Notification
Project Project1.exe raised exception class EIdProtocolReplyError with
message '405 Method not allowed',Process stopped.Use Step or Run to continue.
var url2:String;
s2,strm:TStringStream;
begin
url2:='xxxxxxxx';
s2:=TStringStream.Create('xxxxxxxxxx');
strm:=TStringStream.Create('');
IdHTTP1.Post(url2,s2,strm);
end;
编译正常通过
运行时报告 IdHTTP1.Post(url2,s2,strm) 出错
Debugger Exception Notification
Project Project1.exe raised exception class EIdProtocolReplyError with
message '405 Method not allowed',Process stopped.Use Step or Run to continue.