ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / HTTP functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
HTTP constants
ConstantDescriptionUsed by
auAutomaticHTTP authentication method: Automatic authentication method.Web service properties
auBasicHTTP authentication method: Basic authentication method. The name and password are passed as clear text in the request.httpRequest variable
restRequest variable
Web service properties
auDigestHTTP authentication method: The name and password are hashed in the request.httpRequest variable
restRequest variable
auNegotiateHTTP authentication method: The client and server exchange a certain amount of information before establishing a connection. Kerberos is the default authentication protocol. If it is not available, the NTLM protocol is used.httpRequest variable
restRequest variable
Web service properties
auNTLMHTTP authentication method: The client and server exchange a certain amount of information before establishing a connection via the NTLM protocol (Windows only).httpRequest variable
restRequest variable
httpConfigureDisableCacheIn secure mode (HTTPS), used to manage the cache of Internet Explorer. The possible values are:
  • 0 (by default): Used to re-enable the cache of Internet Explorer.
  • 1: Used to disable the cache of Internet Explorer.
HTTPConfigure
httpConfigureDisableCookieIn secure mode (HTTPS), used to configure the mode for managing the HTTP cookies of Internet Explorer. The <New value> associated with this constant can be:
  • 0 (False by default): Used to re-enable the management of HTTP cookies of Internet Explorer.
  • 1 (True): Used to disable the management of HTTP cookies of Internet Explorer.
HTTPConfigure
httpConfigureModeUsed to configure the management mode of requests. The possible values are:
  • 0: Standard management mode of requests, performed by WINDEV or WEBDEV (default value).
  • 1: Request handling mode defined by Internet Explorer. This value should be used in very specific cases and can cause changes in behavior.
HTTPConfigure
httpCookieUsed to retrieve the block of cookies (extracted from the HTTP headers).HTTPGetResult
httpCopySends a form via the COPY method.HTTPSendForm
httpRequest variable
httpDeleteSends a form with a DELETE request.HTTPSendForm
httpRequest variable
httpErrorExpiredCertificateError returned by ErrorInfo(ErrCode)

Invalid or expired certificate date
HTTPRequest,
HTTPSend
httpErrorInvalidCertificateError returned by ErrorInfo(ErrCode)

The site name specified in the certificate does not correspond to a server
HTTPRequest,
HTTPSend
httpErrorInvalidCertificateNameError returned by ErrorInfo(ErrCode)

The site name specified in the certificate does not correspond to a server
HTTPRequest,
HTTPSend
httpErrorRedirectToHTTPError returned by ErrorInfo(ErrCode)

Redirection to a non-secure server
HTTPRequest,
HTTPSend
httpErrorRedirectToHTTPSError returned by ErrorInfo(ErrCode)

Redirection to a secure server
HTTPRequest,
HTTPSend
httpGetSends a form with a GET request.HTTPSendForm
httpRequest variable
httpHeadSends a form via the HEAD method.HTTPSendForm
httpRequest variable
httpHeaderUsed to retrieve the header of the last HTTP requestHTTPGetResult
httpIgnoreDeprecatedIf an invalid algorithm error is encountered, the request can be executed again, ignoring this error. To do so, use HTTP.IgnoreError = httpIgnoreDeprecated

The certificate is ignored
HTTPRequest,
HTTPSend
httpRequest variable
httpIgnoreExpiredCertificateIf a certificate expiration date error is encountered, the request can be executed again, ignoring this error. To do so, use HTTP.IgnoreError = httpIgnoreExpiredCertificate

The certificate date is ignored.
HTTPRequest,
HTTPSend
httpRequest variable
httpIgnoreInvalidCertificateIf a certificate validity error is encountered, the request can be executed again, ignoring this error. To do so, use HTTP.IgnoreError = httpIgnoreInvalidCertificate

The certificate is ignored
HTTPRequest,
HTTPSend
httpRequest variable
httpIgnoreInvalidCertificateNameIf a certificate name error is encountered, the request can be executed again, ignoring this error. To do so, use HTTP.IgnoreError = httpIgnoreInvalidCertificateName

The site name specified in the certificate is ignored.
HTTPRequest,
HTTPSend
httpRequest variable
httpIgnoreRedirectionUsed to ignore the redirection to a page.HTTPRequest,
HTTPSend
httpRequest variable
httpIgnoreRedirectToHTTPIf an error occurs, you have the ability to re-run the request while ignoring the error. To do so, all use HTTP.IgnoreError = httpIgnoreRedirectToHTTP

The redirection to a non-secure server is allowed.
HTTPRequest,
HTTPSend
httpRequest variable
httpIgnoreRedirectToHTTPSIf an error occurs, you have the ability to re-run the request while ignoring the error. To do so, all you have to do is use HTTP.IgnoreError = httpIgnoreRedirectToHTTPS

The redirection to a secure server is allowed.
HTTPRequest,
HTTPSend
httpRequest variable
httpIgnoreRevocationUsed to ignore the check for the list of revoked certificates. To do so, all you have to do is use HTTP.IgnoreError = httpIgnoreRevocationHTTPRequest,
HTTPSend
httpRequest variable
httpIgnoreUnsafeRenegotiationIf an unsafe renegotiation error is encountered, the request can be executed again, ignoring this error. To do so, use HTTP.IgnoreError = httpIgnoreUnsafeRenegotiation

The redirection to a non-secure server is allowed.
HTTPRequest,
HTTPSend
httpRequest variable
httpLockHTTP method used: Lock method (WebDAV protocol).httpRequest variable
httpMkColHTTP method used: MkCol method (WebDAV protocol).httpRequest variable
httpMoveHTTP method used: Move method (WebDAV protocol).httpRequest variable
httpPatchSends a form via the PATCH method.HTTPSendForm
httpRequest variable
httpPostSends a form with a POST request.HTTPSendForm
httpRequest variable
httpPropFindHTTP method used: PropFind method (WebDAV protocol).httpRequest variable
httpPropPatchHTTP method used: PropPatch method (WebDAV protocol).httpRequest variable
httpPutSends a form with a PUT request.HTTPSendForm
httpRequest variable
httpResultUsed to retrieve the result of the last HTTP requestHTTPGetResult
httpTraceDataReceivedUsed to trace the data received. httpRequest variable
restRequest variable
httpTraceDataSentUsed to trace the data sent. httpRequest variable
restRequest variable
httpTraceHeaderReceivedUsed to trace the data received corresponding to the header. httpRequest variable
restRequest variable
httpTraceHeaderSentUsed to trace the data sent corresponding to the header. httpRequest variable
restRequest variable
httpTraceInfoProvides detailed information about the execution of the request (low-level cURL/OpenSSL error, step in progress, warnings, etc.). httpRequest variable
restRequest variable
httpUnlockHTTP method used: Unlock method (WebDAV protocol).httpRequest variable
httpVersion1_0HTTP version used by the server: HTTP version 1.0.httpRequest variable
httpVersion1_1HTTP version used by the server: HTTP version 1.1.httpRequest variable
httpVersion2HTTP version used by the server: HTTP version 2.0. If the server does not support this version, an older version is used.httpRequest variable
httpVersion2OnlyHTTP version used by the server: Forces HTTP version 2.0: if the server does not support this version, a fatal error is displayed.httpRequest variable
httpVersionDefaultHTTP version used by the server: HTTP version 1.0.httpRequest variable
See also
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/11/2024

Send a report | Local help