# Http request POST unauthorized

**URL:** <https://discourse.nodered.org/t/http-request-post-unauthorized/37476>\
**Category:** General\
**Created:** [14 December 2020 10:59 UTC](https://discourse.nodered.org/t/http-request-post-unauthorized/37476 "2020-12-14T10:59:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![solick](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/solick/32/33645_2.png) [@solick](https://discourse.nodered.org/u/solick)\
**Post date:** [14 December 2020 10:59 UTC](https://discourse.nodered.org/t/http-request-post-unauthorized/37476/1 "2020-12-14T10:59:23Z")

</div>

Hi, i have two NR instances, one hosts a HTTP IN node which awaits POST messages on a specific url (/device/xxx) and another instance where i want to send json with the http request node.

The HTTP IN node is working i tested it with rested, a MAC program to send requests to REST server.

Using the same configuration within the second NR instance with HTTP Request node causes an unauthorized response.  
I use tls and basic authentication an only send a json als msg.payload.

I tried several variants but still it does not work.

Both instances are cloud hosted and not behind a specific firewall.

Any ideas about the root cause of my problem? It looks like i have the same problem like posted [here](https://discourse.nodered.org/t/http-request-password-401-error/10313) but there was no solution posted.

---

<div class="post-metadata">

**Author:** ![wnasich](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wnasich/32/31471_2.png) [@wnasich](https://discourse.nodered.org/u/wnasich)\
**Post date:** [15 December 2020 10:09 UTC](https://discourse.nodered.org/t/http-request-post-unauthorized/37476/2 "2020-12-15T10:09:23Z")

</div>

Hi, could you share the raw response you get with rested including headers ?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [13 February 2021 10:09 UTC](https://discourse.nodered.org/t/http-request-post-unauthorized/37476/3 "2021-02-13T10:09:24Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
