Method | Description | |
---|---|---|
HttpGet ( string Url, string postDataStr ) : string |
发生get请求
|
|
HttpPost ( string Url, string postDataStr ) : string |
发生post请求
|
|
Upload ( string filePath, string fileName, string data, string customernumber ) : string | ||
UrlEncode ( string str ) : string |
将字符串进行urlencode
|
public static HttpGet ( string Url, string postDataStr ) : string | ||
Url | string | |
postDataStr | string | |
return | string |
public static HttpPost ( string Url, string postDataStr ) : string | ||
Url | string | |
postDataStr | string | |
return | string |
public static Upload ( string filePath, string fileName, string data, string customernumber ) : string | ||
filePath | string | |
fileName | string | |
data | string | |
customernumber | string | |
return | string |
public static UrlEncode ( string str ) : string | ||
str | string | |
return | string |