How to read the response json in python template

I am completely new to Node-red. I have been trying to figure out how to simply read the json response, i.e msg.payload from a http request into a python script. Below is my flow.
Could anyone please help me out?

Have you tried running the msg thru the json node?
Also you should provide an export of your flow since no one can see you settings or function code.

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote ```)

   code goes here 

You can edit and correct your post by clicking the pencil :pencil2: icon.

See this post for more details - How to share code or flow json

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