コード例 #1
0
 public static HttpRequestMessage CreateLoginRequest(string login, string password)
 {
     return(new HttpRequestMessage
     {
         Content = CitroenRequestFactory.FormUrlEncodedContentForLogin(login, password),
         Method = HttpMethod.Post,
         RequestUri = new Uri(CatalogApi.UrlConstants.CitroenLoginDo)
     });
 }
コード例 #2
0
 public static HttpRequestMessage CreateLoginRequest(string Login, string Password)
 {
     return(new HttpRequestMessage
     {
         Content = CitroenRequestFactory.FormUrlEncodedContent(Login, Password),
         Method = HttpMethod.Post,
         RequestUri = new Uri("http://service.citroen.com/do/login")
     });
 }