# Non-http transport requested

**URL:** <https://discourse.nodered.org/t/non-http-transport-requested/4639>\
**Category:** General\
**Created:** [7 November 2018 10:08 UTC](https://discourse.nodered.org/t/non-http-transport-requested/4639 "2018-11-07T10:08:36Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![zapicoj](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zapicoj/32/82110_2.png) [@zapicoj](https://discourse.nodered.org/u/zapicoj)\
**Post date:** [7 November 2018 10:08 UTC](https://discourse.nodered.org/t/non-http-transport-requested/4639/1 "2018-11-07T10:08:36Z")

</div>

Hi,  
I am trying to get xml data from a weather web server. When I use this URL in a browser it works fine and I receive the xml data.  
URL:[https://api.weatherlink.com/v1/StationStatus.xml?user=001D0A00DE6A&pass=DEMO&apiToken=demo0a002bc5272033001d0a002bc527](https://api.weatherlink.com/v1/StationStatus.xml?user=001D0A00DE6A&pass=DEMO&apiToken=demo0a002bc5272033001d0a002bc527)

If I put the same URL into a "http node request" then I just receive "non-http transport requested" error. I looked around about this error but I did not find any description or definition.  
Am I doing something wrong?  
Any clue?  
thank you  
JZ

`[{"id":"4f7f0495.ab424c","type":"inject","z":"15355a7e.125016","name":"Tick","topic":"","payload":"","payloadType":"date","repeat":"120","crontab":"","once":true,"x":225.99998474121094,"y":254.3333282470703,"wires":[["de26ba05.65fbf8"]]},{"id":"de26ba05.65fbf8","type":"http request","z":"15355a7e.125016","name":"Davis weatherLink","method":"POST","ret":"txt","url":" https://api.weatherlink.com/v1/StationStatus.xml?user=001D0A00DE6A&pass=DEMO&apiToken=demo0a002bc5272033001d0a002bc527","tls":"46469723.30c598","x":410.16665267944336,"y":254.33333587646484,"wires":[["ea945ecb.57d38","646b371b.4f2198"]]},{"id":"ea945ecb.57d38","type":"xml","z":"15355a7e.125016","name":"","attr":"","chr":"","x":587.6666526794434,"y":254.33333587646484,"wires":[["5e607ee.0b0148"]]},{"id":"646b371b.4f2198","type":"debug","z":"15355a7e.125016","name":"","active":true,"console":"false","complete":"false","x":618.5,"y":299,"wires":[]},{"id":"46469723.30c598","type":"tls-config","z":"","name":"","cert":"","key":"","ca":"","certname":"","keyname":"","caname":"","verifyservercert":true}]`

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [7 November 2018 11:04 UTC](https://discourse.nodered.org/t/non-http-transport-requested/4639/2 "2018-11-07T11:04:35Z")

</div>

I think you probably want GET rather than POST, and don't tick Enable Secure, and take the space off the front of the URL.

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [7 November 2018 11:48 UTC](https://discourse.nodered.org/t/non-http-transport-requested/4639/3 "2018-11-07T11:48:21Z")

</div>

Hi Jose,

If it shouldn't work after all the recommendations from Colin, please have a look at my [node-red-contrib-http-logger](https://github.com/bartbutenaers/node-red-contrib-http-logger) node. This allows you to see which http request is being send by Node-RED. You can then compare that request with the request send by your browser (which you can easily display with the developer tools of your browser)...

Good luck!  
Bart

---

<div class="post-metadata">

**Author:** ![zapicoj](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zapicoj/32/82110_2.png) [@zapicoj](https://discourse.nodered.org/u/zapicoj)\
**Post date:** [7 November 2018 13:02 UTC](https://discourse.nodered.org/t/non-http-transport-requested/4639/4 "2018-11-07T13:02:05Z")

</div>

Thank you Colin. (good observer).  
In fact the problem was the additional space at the beginning of URL. 🙂  
It's working fine. Simple solution !  
@Bart  
Thank you for the tool you suggested. I tested it, it's quite interesting for debugging and /or understand data interchange between server and client. 👍

kind regards  
JZ

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [7 November 2018 13:57 UTC](https://discourse.nodered.org/t/non-http-transport-requested/4639/5 "2018-11-07T13:57:51Z")

</div>

> [@zapicoj](#):
>
> In fact the problem was the additional space at the beginning of URL

You also shouldn't be using post or have the TLS box checked.

---

<div class="post-metadata">

**Author:** ![zapicoj](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zapicoj/32/82110_2.png) [@zapicoj](https://discourse.nodered.org/u/zapicoj)\
**Post date:** [7 November 2018 16:06 UTC](https://discourse.nodered.org/t/non-http-transport-requested/4639/6 "2018-11-07T16:06:27Z")

</div>

Ok Colin, agree.  
I will remove the TLS and use GET.  
Thanks again  
JZ

---

<div class="post-metadata">

**Author:** ![aabbas](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@aabbas](https://discourse.nodered.org/u/aabbas)\
**Post date:** [12 June 2019 10:34 UTC](https://discourse.nodered.org/t/non-http-transport-requested/4639/7 "2019-06-12T10:34:33Z")

</div>

Hi, I used your flow to get the vantage pro 2 measurement and I put GET as you marked and If I put the same URL into a "http node request" after changing user, password and apiToken then I just receive "non-http transport requested" error.  
Could you please help me.  
abbas

---

<div class="post-metadata">

**Author:** ![nadeemciit102](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nadeemciit102/32/36017_2.png) [@nadeemciit102](https://discourse.nodered.org/u/nadeemciit102)\
**Post date:** [28 November 2021 11:12 UTC](https://discourse.nodered.org/t/non-http-transport-requested/4639/8 "2021-11-28T11:12:33Z")

</div>

Thank you Colin. I had the same issue and tried too many things it took too long to find the issue. I still can't believe that it was just a space.  
Thank you again. You are a life saver.
