The current implementation of paginators in the RESTClient is designed to manage pagination through the HTTP GET method.
Problem
Certain APIs require the use of the HTTP POST method to retrieve paginated data (typically used when the request involves sending a significant amount of data). For example, Notion's Query a database uses JSON in the request body to filter and paginate data.
Task
[ ] Identify the paginator classes in the RESTClient that need to be extended to handle the HTTP POST method. The suspects are likely JSONResponsePaginator (aka JSONLinkPaginator) and JSONCursorPaginator.
[ ] Modify the paginator classes to support the HTTP POST method.
Background
The current implementation of paginators in the RESTClient is designed to manage pagination through the HTTP GET method.
Problem
Certain APIs require the use of the HTTP POST method to retrieve paginated data (typically used when the request involves sending a significant amount of data). For example, Notion's Query a database uses JSON in the request body to filter and paginate data.
Task