Method Put
Put(String, String, Dictionary<String, String>)
Sends an http(s) Put request
Declaration
public static string Put(string uri, string data, Dictionary<string, string> headers)
Parameters
Type | Name | Description |
---|---|---|
System.String | uri | The parameterized url |
System.String | data | http body |
Dictionary<System.String, System.String> | headers | http headers |
Returns
Type | Description |
---|---|
System.String |
Put(String, String, Dictionary<String, String>, String)
Sends an http(s) Put request
Declaration
public static string Put(string uri, string data, Dictionary<string, string> headers, string contentType)
Parameters
Type | Name | Description |
---|---|---|
System.String | uri | The parameterized url |
System.String | data | http body |
Dictionary<System.String, System.String> | headers | http headers |
System.String | contentType | http content type i.e. text/plain; charset=UTF-8 |
Returns
Type | Description |
---|---|
System.String |