You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Add tests
Update the RESTClient documentation
The text was updated successfully, but these errors were encountered:
burnash
changed the title
RESTClient: extend paginators to handle the POST method
RESTClient: extend paginators to handle the HTTP POST method
Jul 9, 2024
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
The text was updated successfully, but these errors were encountered: