Datasnap.DSHTTPClient.TDSHTTP.Post

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

procedure Post(const AURL: string; ASource: TStream; AResponseContent: TStream = nil);

C++

void __fastcall Post(const System::UnicodeString AURL, System::Classes::TStream* ASource, System::Classes::TStream* AResponseContent = (System::Classes::TStream*)(0x0));

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
procedure
function
public
Datasnap.DSHTTPClient.pas
Datasnap.DSHTTPClient.hpp
Datasnap.DSHTTPClient TDSHTTP


Beschreibung

Sendet eine POST-Befehlsanforderung.

In der folgenden Tabelle ist die Bedeutung der Parameter aufgeführt.

Parameter Beschreibung

AURL

URL, an den der POST-Befehl gesendet wird.

ASource

Quell-Stream (TStream) für POST-Anforderungen.

AResponseContent

Der Antwort-Stream für die POST-Anforderung.

Exceptions

Exception Meldung Beschreibung

EHTTPProtocolException

<HTTP protocol version> <HTTP status code> <Reason-Phrase>

Aus der Serverantwort wird eine Protokoll-Exception ausgelöst.

Siehe auch