request.Headers["Authorization"] = "Bearer " + accessToken;
<p>Im using azure mobile service for xamarin forms. I was using non-secureed services it was opened to use. Now client changed the service end point and now end points are secured only authorized user can access the endpoints, so now im logged in with Google account. I have followed the steps:-</p>

<ol>
<li>Logged in with google account and received the access token. </li>
<li>Pass access token in get request header. </li>
</ol>

<blockquote>
  <p>request.Headers["Authorization"] = "Bearer " + accessToken;</p>
</blockquote>

<p>Response:-</p>

<blockquote>
  <p>The remote server returned an error: (401) Unauthorized.</p>
</blockquote>

<p>If anybody have any idea please share with me. </p>