title: How do i set up a bearer token in postman from an environment variable?
body: <p>I have set up a collection in PostMan and am able to save my bearer token value to an environment variable successfully using the following test</p>
  
  <pre><code>var jsonData = JSON.parse(responseBody);
  pm.environment.set("mytoken", jsonData.token);
  </code></pre>
  
  <p>but how do I set up a new call to use it?</p>
  
  <p>I have tried adding a Header with </p>
  
  <pre><code>Authorization Bearer &lt;mytoken&gt;
  </code></pre>
  
  <p>but when I Post the Status is 401 Unauthorized</p>