Uploads a string to provided URI as a new resource.
Namespace:
Rebex.Net
Assembly:
Rebex.Http (in Rebex.Http.dll)
Syntax
Visual Basic |
---|
Public Function UploadString ( _ uri As Uri, _ method As String, _ data As String _ ) As String |
C# |
---|
public string UploadString( Uri uri, string method, string data ) |
Parameters
- uri
- Type: System..::..Uri
Uri to send resource to.
- method
- Type: System..::..String
HTTP method to use when sending the data.
- data
- Type: System..::..String
String containing new resource.