Data.Cloud.CloudAPI.TCloudHTTP.Delete

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.Cloud.CloudAPI.pas
Data.Cloud.CloudAPI.hpp
Unit: Data.Cloud.CloudAPI
Parent: TCloudHTTP

Delphi

function Delete(AURL: string): string; overload;
function Delete(AURL: string; AResponseStream: TStream): string; overload;

C++

System::UnicodeString __fastcall Delete(System::UnicodeString AURL)/* overload */;
System::UnicodeString __fastcall Delete(System::UnicodeString AURL, System::Classes::TStream* AResponseStream)/* overload */;

Description

Sends a DELETE command request.

There are two Delete overloaded methods. With the second one you can collect the response with the provided stream.

Delete returns the response stream in string form.

The following table shows the significance of the parameters:

Parameter Description

AURL

URL where the DELETE command is sent

AResponseStream

The stream to collect the response in


See Also