Rest API - Pagination Patterns
Given this REST API response snippet, what is the value of response.pagination.total_pages?
{
"data": [{"id":1}, {"id":2}],
"pagination": {
"current_page": 2,
"total_pages": 4,
"per_page": 2
}
}Given this REST API response snippet, what is the value of response.pagination.total_pages?
{
"data": [{"id":1}, {"id":2}],
"pagination": {
"current_page": 2,
"total_pages": 4,
"per_page": 2
}
}15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions