OpenWGA 7.7 - TMLScript reference

WGA » WGA.HttpClient()
Method :

delete([callback])

On object WGA.HttpClient()
Usage Sends a DELETE Request to the URL specified in HttpClient object
Parameters

callback:

An optional JS-Function to read the response. The callback is called with an HttpResult object as parameter.

Return value HTTP Status Code
Examples
WGA.HttpClient("http://some-domain.com").delete(function(result){
    if(result.status==200)
    	console.log("success");
    else console.error("HTTP Error", result.status)
})