Ask Your Question

What are the (keywords/parameters) we can pass with the http url to retrieve offset records in http client origin?

asked 2020-11-18 03:21:51 -0500

Manimars gravatar image

updated 2020-11-18 03:33:46 -0500

Hi all, We have been trying to retrieve all the records from one of the API. Passing as parameters in the url header. Example: We have tried pagination options such as "By page number" & "By offset number" and have called the ${startAt} value as a variable by using (offset,fetch,since,until,start,page,limit, etc..) In this case the API is generating the first 10 records by default and those 10 records are getting duplicated everytime and pipeline doesn't stop forever. Are there any other keywords considered to retrieve all the records? Can someone please help me here.

edit retag flag offensive close merge delete


@jeff, @metadaddy, @iamontheinet, @Maithri, - Please any suggestions here.

Manimars gravatar imageManimars ( 2020-11-18 03:49:05 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2020-11-25 00:51:44 -0500

Manimars gravatar image

To let everyone know, skip & take parameters resolved my issue defining the offset under pagination. skip=${startAt}&take=150 is an example. Here in http client origin under pagination mode - offset value is set to 0 and by calling this value at ${startAt} in URL made my work easy in retrieving the records from API. C:\fakepath\SS1.PNG image description

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2020-11-18 03:21:51 -0500

Seen: 778 times

Last updated: Nov 25 '20