Internet Direct (Indy) Version 9.0.2 Beta
|
function Put(AURL: string; const ASource: TStream): String; overload; procedure Put(AURL: string; const ASource: TStream; const AResponseContent: TStream); overload;
If AURL refers to an existing server resource, the values in ASource are considered to be a modified version of the server resource. When AURL does not exist on the server, a new server resource is created for the values in ASource.
Put is overloaded to provide a String function that returns the Response from the HTTP Request, or a procedure that stores Response values in the stream specified by AResponseContent.
Put differs from Post through its use of the values in AURL. For a Put operation, the valuein AURL always refers to the values included in the Response content.