title: Authorization type Bearer Token on Postman
body: <p>I'm trying test a few endpoints using Postman. </p>
  
  <p>All endpoint, require a token which can be obtain by log-in.</p>
  
  <p>So I did this : </p>
  
  <p>Request #1  </p>
  
  <p><a href="https://i.stack.imgur.com/U8N3L.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/U8N3L.png" alt="enter image description here"></a></p>
  
  <p>After login success, I have access to the token from the response, then I store that token in my global variable. </p>
  
  <pre><code>let token = pm.response.json().location
  console.log('Token : ', token.split("?token=")[1]);
  pm.globals.set("token", token)
  </code></pre>
  
  <p>I need to use that token as Authorization type Bearer Token for my request #2. </p>
  
  <p><a href="https://i.stack.imgur.com/Nx4cW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Nx4cW.png" alt="enter pastedescription here"></a></p>
  
  <p>I can copy &amp; paste that in the token box, but I tried to avoid doing that manually, is there a way to do it automatically so I can run these 2 requests in sequence?</p>