Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
hiba1
Contributor
Contributor

Retrieve Response Headers From tRestClient

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

Labels (4)
0 Replies