WebClient.UploadString Method
Namespace: Rebex.Net
Assembly: Rebex.Http.dll (version 7.0.9119)
UploadString(String, String)
Uploads a string to provided URI as a new resource.
Declaration
public string UploadString(string uri, string data)
Parameters
Type | Name | Description |
---|---|---|
String | uri | Uri to send resource to. |
String | data | String containing new resource. |
Returns
Type | Description |
---|---|
String | Response of the upload operation. |
UploadString(Uri, String)
Uploads a string to provided URI as a new resource.
Declaration
public string UploadString(Uri uri, string data)
Parameters
Type | Name | Description |
---|---|---|
Uri | uri | Uri to send resource to. |
String | data | String containing new resource. |
Returns
Type | Description |
---|---|
String | Response of the upload operation. |
UploadString(String, String, String)
Uploads a string to provided URI as a new resource.
Declaration
public string UploadString(string uri, string method, string data)
Parameters
Type | Name | Description |
---|---|---|
String | uri | Uri to send resource to. |
String | method | HTTP method to use when sending the data. |
String | data | String containing new resource. |
Returns
Type | Description |
---|---|
String | Response of the upload operation. |
UploadString(Uri, String, String)
Uploads a string to provided URI as a new resource.
Declaration
public string UploadString(Uri uri, string method, string data)
Parameters
Type | Name | Description |
---|---|---|
Uri | uri | Uri to send resource to. |
String | method | HTTP method to use when sending the data. |
String | data | String containing new resource. |
Returns
Type | Description |
---|---|
String | Response of the upload operation. |