Exemplo n.º 1
0
 public static HttpRequestMessage CreateLoginRequest(string login, string password)
 {
     return(new HttpRequestMessage
     {
         Content = PeugeotRequestFactory.FormUrlEncodedContentForLogin(login, password),
         Method = HttpMethod.Post,
         RequestUri = new Uri(CatalogApi.UrlConstants.PeugeotLoginDo)
     });
 }
Exemplo n.º 2
0
 public static HttpRequestMessage CreateLoginRequest(string Login, string Password)
 {
     return(new HttpRequestMessage
     {
         Content = PeugeotRequestFactory.FormUrlEncodedContent(Login, Password),
         Method = HttpMethod.Post,
         RequestUri = new Uri("http://public.servicebox.peugeot.com/do/login")
     });
 }