Esempio n. 1
0
 public static HttpRequestMessage CreateLoginRequest(string login, string password)
 {
     return(new HttpRequestMessage
     {
         Content = PartsLink24RequestFactory.FormUrlEncodedContentForLogin(login, password),
         Method = HttpMethod.Post,
         RequestUri = new Uri(CatalogApi.UrlConstants.Partslink24ComPartslink24AjaxLoginAction)
     });
 }
 public static HttpRequestMessage CreateLoginRequest(string Login, string Password)
 {
     return(new HttpRequestMessage
     {
         Content = PartsLink24RequestFactory.FormUrlEncodedContent(Login, Password),
         Method = HttpMethod.Post,
         RequestUri = new Uri("https://www.partslink24.com/partslink24/login-ajax!login.action")
     });
 }