# Http request node and response

**URL:** <https://discourse.nodered.org/t/http-request-node-and-response/20695>\
**Category:** General\
**Created:** [21 January 2020 18:24 UTC](https://discourse.nodered.org/t/http-request-node-and-response/20695 "2020-01-21T18:24:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pvanklink](https://avatars.discourse-cdn.com/v4/letter/p/bcef8e/32.png) [@pvanklink](https://discourse.nodered.org/u/pvanklink)\
**Post date:** [21 January 2020 18:24 UTC](https://discourse.nodered.org/t/http-request-node-and-response/20695/1 "2020-01-21T18:24:49Z")

</div>

I am busy with adressing all sort off exceptions, debug ad status codes for troubleshooting my project.

I have a simple http request node where i do a post like:  
[https://user](https://user) pwd@ip:1880/test

I try to read the responce  
with  
var hulp = msg.req  
test = hulp.url  
msg.info = test (i use this on my dashboard)

but still get  
TypeError: Cannot read property 'url' of undefined"

![Naamloos](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/3/f3e3136f8e4e6dd1968f9eac362f385c9786d785.png)

---

<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:** [21 January 2020 19:18 UTC](https://discourse.nodered.org/t/http-request-node-and-response/20695/2 "2020-01-21T19:18:21Z")

</div>

Hi @pvanklink

It looks like you are mixing up the HTTP Request node with the HTTP In node.

`msg.req` is a property sent by the HTTP In node when it receives an incoming http request. It is not a property the HTTP Request node would return having completed a request.
