title: How to resolve unauthenticated issue in Postman GET Request
body: <p>I used Laravel-8 for rest api. The route is shown below:</p>
  <pre><code>localhost:8888/myapp/server/api/v1/admin/role
  </code></pre>
  <p>It is a GET Request.</p>
  <p>When I send it on POSTMAN, I got this error:</p>
  <blockquote>
  <p>401Unauthorized</p>
  </blockquote>
  <blockquote>
  <p>{
  &quot;message&quot;: &quot;Unauthenticated.&quot;
  }</p>
  </blockquote>
  <p>In my route I have:</p>
  <blockquote>
  <p>'middleware' =&gt; ['auth:api']]</p>
  </blockquote>
  <p>The reason is because I don't know how to add the Login details. email: akwetey@gmail.com, password: mypass</p>
  <p>How do I achieve this?</p>
  <p>Thanks</p>