Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
hombre_fatal
on May 28, 2022
|
parent
|
context
|
favorite
| on:
Paginating Requests in APIs (2020)
You send `GET /items[?cursor=<cursor>]` to my server.
I respond:
[ "items": [ {...}, {...}, {...}, ... ], "next_cursor": "77963b7a" ]
How do you request "this cursor + 5 pages"?
amelius
on May 28, 2022
[–]
GET /items?cursor=77963b7a&add_to_cursor=5pages
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
I respond:
How do you request "this cursor + 5 pages"?