Example: Next page token paging that uses an HTTP header returned in a response body

This section describes how to configure the driver for paging mechanisms that use an HTTP header returned in a response body to return the next page of results. In the following example, the response body contains an element, next, that specifies the HTTP-header value argument, page_2, to be passed in the next request.
"next": "page_2"

If the HTTP header used to return the next page of a result is next_page, the driver would send the following HTTP header argument in a request to retrieve the next page of results.

next_page=page_2
When configuring your paging entry for this mechanism, you need to specify the nextPageElement and nextPageRequestHeader parameters. The nextPageElement specifies the element in the response body that contains the value of the HTTP header, while nextPageRequestHeader specifies the HTTP header to be used to retrieve the next page of results. The following is example of configuring paging using a query parameter passed in a response.
"#pageSizeParameter": "limit", 
"#maximumPageSize": 100, 
"#nextPageElement": "next", 
"#nextPageRequestHeader": "next_page"