Method | Description | |
---|---|---|
QuerySiteData ( ) : string | ||
SendGetRequest ( string strUri, string strMethod ) : string |
发送GET请求
|
|
SendLoginRequest ( |
||
SendPostRequest ( string strUri, string strMethod, string strPostData ) : string |
发送post请求
|
Method | Description | |
---|---|---|
CheckValidationResult ( object sender, |
public static SendGetRequest ( string strUri, string strMethod ) : string | ||
strUri | string | 请求资源路径 |
strMethod | string | 请求方法 |
return | string |
public static SendLoginRequest ( |
||
loginReq | ||
return | string |
public static SendPostRequest ( string strUri, string strMethod, string strPostData ) : string | ||
strUri | string | 请求资源路径 |
strMethod | string | 请求方法 |
strPostData | string | post请求参数 |
return | string |