1212
This commit is contained in:
@@ -15,12 +15,12 @@ namespace BLL.Common
|
||||
/// </summary>
|
||||
/// <param name="url"></param>
|
||||
/// <returns></returns>
|
||||
public static string HttpGetRequest(string url)
|
||||
public static string HttpGetRequest(string url, string token ="")
|
||||
{
|
||||
string strGetResponse = string.Empty;
|
||||
try
|
||||
{
|
||||
var getRequest = CreateHttpRequest(url,"GET", "");
|
||||
var getRequest = CreateHttpRequest(url,"GET", token);
|
||||
var getResponse = getRequest.GetResponse() as HttpWebResponse;
|
||||
strGetResponse = GetHttpResponse(getResponse, "GET");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user