Extract JSON object from an URL

Hello everyone. Actually I have an URL address provided by a system engineer that extract data from a data base. when I put this URL in my web Brawser I can see the following:

This is a JSON object that I want to be able to use in node-red, but I'm not sure how. Please if someone has an idea!!!

Try a HTTP Request node with the method set to GET.

... and set to return a parsed json object

1 Like

Hi, firstly, "JSON object" is a misnomer. JSON stands for JavaScript Object Notation. In other words, it is a string representation of a JavaScript object. The distinction is important if you wish to become proficient.

Ok, so to do a GET request for JSON data, see this example in the cookbook

1 Like

thanks for the clarification, I appreciate it very much, especially since you were not rude. I will check the source you shared with me, thank you :slight_smile:

1 Like

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