Uploads a data to provided URI and returns a response data of the upload operation.
Namespace:
Rebex.Net
Assembly:
Rebex.Http (in Rebex.Http.dll)
Syntax
Visual Basic |
---|
Public Function UploadData ( _ uri As Uri, _ data As Byte() _ ) As Byte() |
C# |
---|
public byte[] UploadData( Uri uri, byte[] data ) |
Parameters
- uri
- Type: System..::..Uri
Uri to send data to.
- data
- Type: array<System..::..Byte>[]()[][]
Data to send to provided URI.
Return Value
Response data of the upload operation.Remarks
HTTP method POST is used.