Discuss this help topic in SecureBlackbox Forum

TElRESTClient.Put

TElRESTClient     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Sends PUT request to the server.

Declaration

[C#]
    int Put(string URL, TElXMLDOMDocument Content);
    int Put(string URL, TElJsonEntity Content);
    int Put(string URL);
    int Put(string URL, string Content);
    int Put(string URL, byte[] Content);
    int Put(string URL, byte[] Content, int StartIndex, int Count);
    int Put(string URL, System.IO.Stream Content, bool CloseStream);

[VB.NET]
    Function Put(ByVal URL As String, ByVal Content As TElXMLDOMDocument) As Integer
    Function Put(ByVal URL As String, ByVal Content As TElJsonEntity) As Integer
    Function Put(ByVal URL As String) As Integer
    Function Put(ByVal URL As String, ByVal Content As String) As Integer
    Function Put(ByVal URL As String, ByVal Content As Byte()) As Integer
    Function Put(ByVal URL As String, ByVal Content As Byte(), ByVal StartIndex As Integer, ByVal Count As Integer) As Integer
    Function Put(ByVal URL As String, ByVal Content As System.IO.Stream, ByVal CloseStream As Boolean) As Integer

[Pascal]
    function Put(const URL : string; Content : TElXMLDOMDocument) : integer;
    function Put(const URL : string; Content : TElJsonEntity) : integer;

[C++]
    int32_t Put(const std::string &URL, TElXMLDOMDocument &Content);
    int32_t Put(const std::string &URL, TElXMLDOMDocument *Content);
    int32_t Put(const std::string &URL, TElJsonEntity &Content);
    int32_t Put(const std::string &URL, TElJsonEntity *Content);

[PHP]
    integer Put(string $URL, TElXMLDOMDocument $Content)
    integer Put(string $URL, TElJsonEntity $Content)
    integer Put(string $URL)
    integer Put(string $URL, string $Content)
    integer Put(string $URL, array of byte|string|NULL $Content)
    integer Put(string $URL, array of byte|string|NULL $Content, integer $StartIndex, integer $Count)
    integer Put(string $URL, TStream $Content, bool $CloseStream)

[Java]
    int put(String URL, TElJsonEntity Content);
    int put(String URL, TElXMLDOMDocument Content);

Parameters

  • URL - specifies the URL resource aaddress.
  • Content - the data to be sent to the server.
  • StartIndex - ...
  • Count - ...
  • CloseStream - ...

Return value

    HTTPresult code.

Description

    Use this method to send PUT request to the server. The XML or JSON data will be intrinsically canonicalized/encoded according to the corresponding properties of the client.

See also:     Post     XMLCanonicalizationMethod     JSONCharsPerIndentLevel     JSONIndentChar    

Discuss this help topic in SecureBlackbox Forum