title: Invalid character in header content ["authorization"] when sending bearer authorization request from thunder client
body: <p><strong>server.js</strong></p>
  <p>i tried to send an bearer token through thunder-client visual-studio code extension but got an error
  <strong>Invalid character in header content [&quot;authorization&quot;]</strong></p>
  <p><em>but it working fine with postman</em></p>
  <pre><code>const express = require('express')
  const app = express()
  
  app.use(express.json())
  app.use(express.urlencoded({extended: true}))
  
  app.get('/',(req,res)=&gt;{
      res.status(200).send(&quot;welcome to the main page&quot;)
  })
  app.post('/',(req,res)=&gt;{
      
  
       const bearerHeader = req.headers['authorization']
     
      if(typeof bearerHeader !== 'undefined'){
          
          console.log(req.headers)
          console.log(bearerHeader)
          res.send(req)
      }else{
          res.status(403)
     }
      
      //bearer.header.split('')
  })
  
  
  app.listen(8000,()=&gt;console.log(&quot;server is running&quot;))
  </code></pre>
  <p><strong>package.json</strong></p>
  <pre><code>{
    &quot;name&quot;: &quot;simple express app&quot;,
    &quot;version&quot;: &quot;1.0.0&quot;,
    &quot;description&quot;: &quot;&quot;,
    &quot;main&quot;: &quot;source.js&quot;,
    &quot;scripts&quot;: {
      &quot;test&quot;: &quot;echo \&quot;Error: no test specified\&quot; &amp;&amp; exit 1&quot;
    },
    &quot;keywords&quot;: [],
    &quot;author&quot;: &quot;&quot;,
    &quot;license&quot;: &quot;ISC&quot;,
    &quot;dependencies&quot;: {
      &quot;dotenv&quot;: &quot;^10.0.0&quot;,
      &quot;ejs&quot;: &quot;^3.1.6&quot;,
      &quot;express&quot;: &quot;^4.17.1&quot;,
      &quot;helmet&quot;: &quot;^4.6.0&quot;,
      &quot;mongoose&quot;: &quot;^6.0.7&quot;,
      &quot;morgan&quot;: &quot;^1.10.0&quot;,
      &quot;nodemon&quot;: &quot;^2.0.12&quot;
    }
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/5Afil.png" rel="nofollow noreferrer">the error is shown in this picture</a></p>
  <p><a href="https://i.stack.imgur.com/BR5az.png" rel="nofollow noreferrer">picture 2</a></p>
  <p>can anyone help me on this thanks in advance</p>