title: How to set header Authentication in httpRequest?
body: <p>How to set header Authentication in httpRequest?</p>
  
  <p>I tried with this, but It didn't work well.</p>
  
  <pre><code> connection.setRequestMethod("GET");
   connection.setRequestProperty ("Authorization", accesToken);
   connection.setRequestProperty("Accept", "application/json");
  </code></pre>