title: How to get the bearer token from http request
body: <p>I have the following cUrl command to send reqest to server</p>
  
  <p><code>curl -k https://localhost:9200 -H "Authorization: Bearer eH8AIFX6PqyrmJ1cJLC"</code></p>
  
  <p>in the server side I need to retrieve the token that is eH8AIFX6PqyrmJ1cJLC.</p>
  
  <p>the line,</p>
  
  <p><code>String access_token=request.header("Authorization: Bearer");</code></p>
  
  <p>outputs :     <strong>Bearer eH8AIFX6PqyrmJ1cJLC</strong></p>
  
  <p>But I only want to retrieve <strong>eH8AIFX6PqyrmJ1cJLC</strong>.</p>
  
  <p>How do I do this.</p>
  
  <p>Thanks.</p>