title: RestSharp - Token authentication
body: <p>I'm trying to send a GET request with a token authentication, but i get an unauthorized response.
  If i send the same request on Postman, it works.</p>
  
  <p>Here's my code : </p>
  
  <pre><code>string url = string.Format("{0}batchs", MyUrl);
  RestClient client = new RestClient(url);
  RestRequest getRequest = new RestRequest(Method.GET);
  getRequest.AddHeader("Accept", "application/json");
  getRequest.AddHeader("Authorization", "token " + MyToken);
  getRequest.AddParameter("name", MyName, ParameterType.QueryString);
  
  IRestResponse getResponse = client.Execute(getRequest);
  </code></pre>
  
  <p>And here's my postman request :</p>
  
  <p><a href="https://i.stack.imgur.com/10J0p.png" rel="noreferrer">Postman request</a></p>
  
  <p>Any ideas on how to correct this ?</p>
  
  <p>Thanks !</p>