Example: Next page token paging that uses a URL returned in a response header
- Last Updated: January 23, 2024
- 1 minute read
- DataDirect Connectors
- JDBC
- Autonomous REST Connector 6.0
- Documentation
Example: Next page token paging that uses a URL returned in a response header
The driver supports services that use a paging mechanism that returns the URL for the next page of results in a response header. For example, a response header that specifies the URL takes the following form:
Next=https://example.com/myEndpoint?nextpage=2
To configure paging, specify the name of the header that contains the URL using the
nextPageResponseHeader parameter. For example, the following entry
configures the driver to use the response header named Next to retrieve the
next page in the results:"#pageSizeParameter": "limit",
"#maximumPageSize": 100,
"#nextPageResponseHeader": "Next"