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 the functions
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
httpHeaderUsed to retrieve the header of the last HTTP requestHTTPGetResult
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
httpIgnoreExpiredCertificateIf 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 = httpIgnoreExpiredCertificate

The certificate date is ignored.
HTTPRequest,
HTTPSend
httpRequest variable
httpIgnoreInvalidCertificateIf an error occurs, you have the ability to re-run the request while ignoring the error. To do so, use HTTP.IgnoreError = httpIgnoreInvalidCertificate

The certificate is ignored
HTTPRequest,
HTTPSend
httpRequest variable
httpIgnoreInvalidCertificateNameIf an error occurs, you have the ability to re-run the request while ignoring the 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 you have to do is 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
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
httpParameterDisableCacheIn 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.
HTTPParameter
httpParameterDisableCookieIn 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.
HTTPParameter
httpParameterModeUsed 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: Management mode of requests performed by Internet Explorer. This value must be used in specific cases and it may trigger changes of behavior.
HTTPParameter
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
httpTraceDataSentUsed to trace the data sent. httpRequest variable
httpTraceDataReceivedUsed to trace the data received. httpRequest variable
httpTraceHeaderSentUsed to trace the data sent corresponding to the header. httpRequest variable
httpTraceHeaderReceivedUsed to trace the data received corresponding to the header. 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
httpVersion1_1HTTP version used by the server: HTTP version 1.1.httpRequest variable
httpVersion1_0HTTP version used by the server: HTTP version 1.0.httpRequest variable
httpVersionDefaultHTTP version used by the server: HTTP version 1.0.httpRequest variable
httpUnlockHTTP method used: Unlock method (WebDAV protocol).httpRequest variable
See also
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help