WinInet Component Suite for FireMonkey

TInetConnection TInetSession TInetFtp TInetHttp TInetUrl TInetCookie
WinInet Component Suite for FireMonkey demo example
Delphi and C++ Builder components to enable applications interact with FTP, and HTTP/HTTPS protocols to access Internet resources.
  • FTP, HTTP and HTTPS protocols supported
  • well suited for accessing REST services
  • uses standard Windows WinINet API
  • available for Delphi/C++ Builder XE2 - 10.3
  • source code included in registered version
  • royalty free distribution

Download and order

FAQ

How can I obtain redirected url?
Use FINetHttp.OnCallback event:
procedure TForm.FINetHttpCallback(Sender: TObject; Status: Integer; Information: Pointer; InformationLength: Integer);
begin
  if Status = INTERNET_STATUS_REDIRECT then
    ShowMessage('Redirect to ' + PAnsiChar(Information));
end;
							
How can I obtain complete response headers?
ShowMessage(FINetHttp.Headers[heRawHeadersCrLf]);
							
How can I avoid "Error 12152: The server returned an invalid or unrecognized response" when using HTTPS protocol?
Set flSecure flag in FINetHttp.Flags property.

How can I avoid "400 Bad Request - The plain HTTP request was sent to HTTPS port" when using HTTPS protocol?
Set flSecure flag in FINetHttp.Flags property.

Related links