Http request produces error "RequestError: getaddrinfo ENOTFOUND {msg.payload}"

Hi,
i can pars a website and extract the url of an picture.
I can download the picture when i copy the url manual, paste it in the http request node URL field, set output to binary buffer and get the picture.
What i want to do is pass the url via msg.payload to the http request node, but then i get the error "RequestError: getaddrinfo ENOTFOUND {msg.payload}"
A debug node reports the url as "https://img.kleinezeitung.at/public/incoming/j650iy-David-Alaba-bangt-um-seinen-EM-Einsatz/alternates/BASE_LANDSCAPE/David%20Alaba%20bangt%20um%20seinen%20EM-Einsatz"
Where is my fault?
All hints are welcome!

You pass the url in msg.url to the http request node, not msg.payload

1 Like

Big Thank You, that works!

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