REST Nodes Problem

I am trying to retrieve a data set from RESTful services. Initially it was done in Python (the code snippet attached)

Unfornately I can't get it working in Knime. If somebode willing to help it would be much appreciated, and I can provide the password to connect to the RESTfull services.

Thanks and regards,

Sergei.

 

Dear all,

I am not able to obtain results from the GET resource node when i tried an example (https://tech.knime.org/book/step-1-get-a-resource).

The warning is as follows:

WARN  GET Request          2:1163     First call failed: java.util.concurrent.ExecutionException: javax.ws.rs.ProcessingException: java.net.ConnectException: Connection refused

Is there a way to solve this?

Thanks.

Best,

marsteva