# About checking autherization

**URL:** <https://community.postman.com/t/about-checking-autherization/47289>\
**Category:** Help Hub\
**Tags:** authentication\
**Created:** [May 10, 2023, 3:00am UTC](https://community.postman.com/t/about-checking-autherization/47289 "2023-05-10T03:00:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![coolguyjm](https://avatars.discourse-cdn.com/v4/letter/c/b5a626/32.png) [@coolguyjm](https://community.postman.com/u/coolguyjm)\
**Post date:** [May 10, 2023, 3:00am UTC](https://community.postman.com/t/about-checking-autherization/47289/1 "2023-05-10T03:00:21Z")

</div>

Hello, I’m beginner user of postman tool, and also web.

I was tried to test about the request GET with authorization in the header.

My test direction was

→ Make a request GET example and add the authorization at header like below.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/8/f/8fd54ec94bfa3201cd52dbdb19a6e82f555ec184.png)

→ this token was personal token and generated from github.

→ And back to the collection, write a uri that it was request GET example and send like below.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/6/9/691857dfb98ecc3fde25cf54b4fe833693cf6f5f.png)

In this his time I didn’t setup the authorization in this collection , but why there was got a normally response (status 200 OK)?

is it possible to get a OK status response without authorization in header? In my expecting, if there was not added the authorization value in header, I think it should be get a 401 status response.

Am I misunderstood?

what should I do , if I want to get a 401 status response in postman?

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [May 10, 2023, 9:59am UTC](https://community.postman.com/t/about-checking-autherization/47289/2 "2023-05-10T09:59:37Z")

</div>

It looks like you are using a Mock, not the actual github endpoint.

---

<div class="post-metadata">

**Author:** ![coolguyjm](https://avatars.discourse-cdn.com/v4/letter/c/b5a626/32.png) [@coolguyjm](https://community.postman.com/u/coolguyjm)\
**Post date:** [May 11, 2023, 7:47am UTC](https://community.postman.com/t/about-checking-autherization/47289/3 "2023-05-11T07:47:33Z")

</div>

After changing the url to github, it was confirmed that it worked normally.  
I misunderstood the endpoint concept.

Thank you for your feedback.
