HTTP node does not work

Hello
with postman, the HTTP GET at the URL

Blockquote swisshydroapi.bouni.de/api/v1/station/2004

work fine, the result ist the level of the lake murten.

If i use the HTTP node wir GET, the answer ist always:
"405" method not allowed.

Wy the HTTP node does not work ?

A simple Inject->HTTP Request->Debug flow getting that URL is working okay for me:

[{"id":"a3e45e137ec4cc13","type":"inject","z":"ea620193689ffefb","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":150,"y":480,"wires":[["d6a98811197c4205"]]},{"id":"d6a98811197c4205","type":"http request","z":"ea620193689ffefb","name":"","method":"GET","ret":"txt","paytoqs":"ignore","url":"https://swisshydroapi.bouni.de/api/v1/station/2004","tls":"","persist":false,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[],"x":310,"y":480,"wires":[["970e5eba2fa244db"]]},{"id":"970e5eba2fa244db","type":"debug","z":"ea620193689ffefb","name":"debug 4","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":480,"y":480,"wires":[]}]

The '405' response is curious. Can you share an example flow that isn't working for you so we can see how exactly you have it configured?

thx !
it was my fault, i used PUT and not GET, and 405 is the answer of PUT and this ist not allowed.
You try was helping me to check every thing again :wink:

1 Like

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