03-12-2020, 02:54 PM
Hi, look this demo: https://github.com/Atozed/IntraWeb/tree/...ntHandlers and create your ContentHandle to respond to your non iw app. You can create something like this:
Look in ServerController.
In your content:
Code:
http://192.168.1.134:8888/GiveMeSomeHTMLCode:
with THandlers.Add('', 'GiveMeSomeHTML', TContentHTML.Create) do begin
CanStartSession := True;
RequiresSessionStart := False;
end;Code:
if Assigned(aReply) then begin
aReply.ContentType := MIME_HTML;
aReply.WriteString('<html><head>etc</head></html>');
end;
