title: Header token authorization not working for get request in xamarin forms
body: <p>I'm working on a project where i need to get the list of users from a restful server. However, My code isn't working as I'm not getting the intended result. The rest server uses a JWT token which means i need to be authorized before i can make a request. Please how do i do this in xamarin forms.
  below is my code:</p>
  
  <pre><code>        {
              var client = new HttpClient();
              client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(
                  "Bearer", accessToken);
  
              var json = await client.GetStringAsync(ConstantsValue.BaseAddress + "Users");
  
              var users = JsonConvert.DeserializeObject&lt;List&lt;AddedUsers&gt;&gt;(json);
  
              return users;
          }```
  </code></pre>