title: Node Red, Http request with authorization : bearer
body: <p>im a newbie with NodeRed.</p>
  
  <p>I am trying to create a <code>http request</code> for the Actility <code>LORAWAN</code> platform with the authorization : <code>bearer token without success</code>.</p>
  
  <p>The request is working and i get </p>
  
  <pre><code>{
    "code" : 401,
    "message" : "Permission denied: Authorization header must be set with Bearer token",
    "errorId" : null
  }
  </code></pre>
  
  <p>I have tried to find some information of how to do the function node with a authorization : bearer in javascript but i cant find any examples of code?</p>
  
  <p>Can someone help me with an example of how to do a proper code and connect the function node together with an http request node?</p>
  
  <p>Kind regards</p>
  
  <p>Andreas Hauser</p>