node-red

I’ve created a simple flow that gets http request from Nasa’s APOD api portal. 

GET https://api.nasa.gov/planetary/apod

OphGalaxyClusterLabeled_Chandra_960.jpg

My flow composed by inject, debug and http request nodes. 

I’ve made a GET request method in http request node and paste my url with api key in url section.So, I’m asking NASA portal a picture of a day. 

Then I’ve deployed it. Response printed right back in to the debug window. This JSON response tells about NASA’s picture  of the day, today’s date and give a little explanation of what that picture about.

Screen Shot 2020-03-11 at 4.55.53 PM.png

JSON data that I’ve got;

Screen Shot 2020-03-11 at 7.00.45 PM.png