# RED.httpNode.get gives "Unauthorized"

**URL:** <https://discourse.nodered.org/t/red-httpnode-get-gives-unauthorized/8749>\
**Category:** Developing Nodes\
**Created:** [8 March 2019 16:30 UTC](https://discourse.nodered.org/t/red-httpnode-get-gives-unauthorized/8749 "2019-03-08T16:30:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [8 March 2019 16:34 UTC](https://discourse.nodered.org/t/red-httpnode-get-gives-unauthorized/8749/2 "2019-03-08T16:34:00Z")

</div>

You should not be using the `needsPermission` middleware on `RED.httpNode`.

`needsPermission` is for the admin apis - in other words routes that are mounted on `RED.httpAdmin`.

---

_[View the full topic](https://discourse.nodered.org/t/red-httpnode-get-gives-unauthorized/8749)._
