Back to product page

Delete method


Deletes resource from remote server.

Type

None

Syntax

  • Basic
object.Delete [Request]
The Delete(object,Request) syntax has these parts:
objectAn expression evaluating to an object of type wodHttpDLX.
RequestOptional. A Variant value. Holds ful URL to resource on the server.

Remarks

This method requests a remote server to delete a particular resource.

Example (code in VB):
 
wodHttp1.Blocking = True
wodHttp1.Host = "www.microsoft.com"
wodHttp1.Delete "/"
 

This code would delete the default document on Microsoft's server. However, the server might not allow this method to be executed and completed successfully. Usually additional headers for user authorization are required for this method.

Platforms

Windows