Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
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