Top  | Previous | Next

system.net.httpDelete

Syntax

system.net.httpDelete(url, contentType, connectTimeout, readTimeout, username, password, headerValues, bypassCertValidation)

Parameters

String url - The URL to send the request to.

String contentType - Optional - The MIME type to use in the HTTP "Content-type" header.

Integer connectTimeout - The timeout for connecting to the url. In millis. Default is 10,000.

Integer readTimeout - The read timeout for the operation. In millis. Default is 60,000.

String username - If specified, the call will attempt to authenticate with basic HTTP authentication.

String password - The password used for basic http authentication, if the username parameter is also present.

PyDictionary headerValues - Optional - A dictionary of name/value pairs that will be set in the http header.

Boolean bypassCertValidation - Optional - If the target address is an HTTPS address, and this parameter is True,the system will bypass all SSL certificate validation. This is not recommended, though is sometimes necessary for self-signed certificates.

Returns

String - The content returned for the DELETE operation.

Scope

All