I would appreciate any hints on how to make recursive requests with the WSClient. I am accessing a REST api which returns nodes of a tree in json format, for example this would be the root node:
{
id: "root"
children:[
{
id: "node1"
children:[...]
},
{
id: "node2"
children:[...]
},
{
id: "node3"
children:[...]
}
]
}
To access each node the url pattern is
root/node1/node1-1
What i would like to do is to traverse the whole tree and get some information according to some criteria.
Thanks in advance