intrawebIW当作REST 服务端

intraweb15

该版本支持HTTPS.SYS通信。

IW当作REST 服务端使用:

procedure TIWServerController.IWServerControllerBaseExecuteRequest(
const Url: string; Request: THttpRequest; aReply: THttpReply;
var Handled: Boolean);
var
s:string;
begin
//if Request.HttpMethod= hmGet then begin
// s:= Request.Params.Values['sql'];
// s:=Request.PathInfo;
aReply.WriteString('{"f1:","你好,世界!"}');
aReply.SendStream();
//end;
end;

posted @ 2018-08-16 21:36  delphi中间件  阅读(894)  评论(0编辑  收藏  举报