Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
zalibra
Contributor III
Contributor III

How to paginate using tHttpRequest

I need to pull JSON from an API. However, the data on the API is paginated. I can manually increment the page number and get all the data but is there an automated way of doing it using tHttpRequest?

The API looks like the following:

https://api.****.com/api/***?page=1

https://api.****.com/api/***?page=2

...

https://api.****.com/api/***?page=n

Labels (4)
2 Replies
manodwhb
Champion II
Champion II

@Z A​ ,check the below case.

 

https://community.talend.com/s/feed/0D73p000004kBAaCAM

 

Thanks,

Manohar

zalibra
Contributor III
Contributor III
Author

The link that rhall shared doesn't load and the job from shong doesn't work for me.

 

Any help would be greatly appreciated.