THTTPSend.HTTPMethod
THTTPSend     

function HTTPMethod(Const Method, URL: string): Boolean;

Unit
HTTPSend

Description
Connects to host define in URL and access to resource defined in URL by method. If Document is not empty, send it to server as part of HTTP request. Server response is in Document and headers. Connection may be authorised byt username and password in URL. If you define proxy properties, connection is made by this proxy. If all OK, result is true, else result is false.

If you use in URL 'https:' instead only 'http:', then your request is made by SSL/TLS connection (if you not specify port, then port 443 is used instead standard port 80). If you use SSl/TLS request and you have defined HTTP proxy, then HTTP-tunnel mode is automaticly used .


See also:
Document, Headers, KeepAlive, MimeType, Protocol, ProxyHost, ProxyPass, ProxyPort, ProxyUser, ResultCode, ResultString, IPInterface