I used an API from NASA and get a json answer on my debugwindow.
msg.payload : Object
object
date: "1997-01-28"
explanation: "Many stars form in clusters. Two types of star clusters are visible in our Milky Way Galaxy: open clusters and globular clusters. Open clusters like M50, shown above, typically contain hundreds of..."
What do you mean? Have node-red open the image in an image viewer on the same pc as node-red is running or on a client pc? Download the image to file? Present the image on a dashboard???
NodeRed runs on a client PC. On Dashboard would be nice. I think i have to use a functionblock but i struggle with the code that i need to write in it.
Perfect would that when i deploy and run NR it give me the jsontext in the debugwindow and opens a new tab with the picture. Is it not possilble it would cool to see the picture via dashboard.
I want to see the Picture without copy the link from json in new tab. It should be done automaticly. I also dont want to download the pic.
Hi Steve
unfortunately i dont have access to the Image nodes....
My flow is now inject-> http request with api -> json -> debug
One way could be the json node. With this node i can use the single item in the json.
So i need a new http request but how do i bring my url from the first json into it?....
once you have the path to the URL, use a change node to set to copy the value from the path of that url into msg.url then pass that to another http request