title: How to properly put the auth token in the header for a GET request
body: <p>I have am trying to do a get request to api with blockcypher.com. In the docs they simply append the api token to the URL with ?token= or if it's part of multiple parameters &amp;token=. What's the proper protocol for putting this in the headers to make sure that the token isn't sent in the URL for security reasons?</p>
  <p>I already tried to do this formula</p>
  <pre><code>var client = _clientFactory.CreateClient(nameof(&lt;Parent Function Name&gt;));
  client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(&quot;Bearer&quot;, &lt;API Token Here&gt;);
  </code></pre>
  <p>This didn't work. My blockcypher account claims that no requests to my API were sent when I use the above code.</p>