Ejemplo n.º 1
0
 public static HttpRequestMessage CreateLoginRequest(string login, string password)
 {
     return(new HttpRequestMessage
     {
         Content = OpelRequestFactory.FormUrlEncodedContentForLogin(login, password),
         Method = HttpMethod.Post,
         RequestUri = new Uri(ResourceManager.Urls[CatalogApi.UrlConstants.Key.ChevroletOpelGroupUserLoginDo])
     });
 }
Ejemplo n.º 2
0
 public static HttpRequestMessage CreateLoginRequest(string login, string password)
 {
     return(new HttpRequestMessage
     {
         Content = OpelRequestFactory.FormUrlEncodedContent(login, password),
         Method = HttpMethod.Post,
         RequestUri = new Uri("https://imtportal.gm.com/users/login.html")
     });
 }
Ejemplo n.º 3
0
 public static HttpRequestMessage CreateLogoutRequest()
 {
     return(new HttpRequestMessage
     {
         Content = OpelRequestFactory.FormUrlEncodedContentForLogout(),
         Method = HttpMethod.Post,
         RequestUri = new Uri("https://imtportal.gm.com/users/logout.html")
     });
 }
Ejemplo n.º 4
0
 public static HttpRequestMessage CreateLogoutRequest()
 {
     return(new HttpRequestMessage
     {
         Content = OpelRequestFactory.FormUrlEncodedContentForLogout(),
         Method = HttpMethod.Post,
         RequestUri = new Uri(CatalogApi.UrlConstants.ChevroletOpelGroupUserLogoutTo)
     });
 }