Hi all ,
I'm using tRestClient to pull data from a REST API which returns data in pages of up to 250 items each. The link to the next page is provided in the response header.
i can access the response header using tRestClient using tjavarow :
output_row.url = ((java.util.Map<String,java.util.List<String>>)globalMap.get("tRESTClient_1_HEADERS")).get("Link").get(0).toString();
the link like this :
<http://example.com/TheBook/chapter2>; rel="next";
How can i get only the url :
http://example.com/TheBook/chapter2
any help please !
Thanks