|
@@ -5,7 +5,6 @@
|
5
|
5
|
|
6
|
6
|
-
|
7
|
7
|
### Get Data From Page
|
8
|
|
-
|
9
|
8
|
* For example, a client wanting a blog post in page 3 of a hypothetical blog service can use a `GET` method resembling the following:
|
10
|
9
|
`http://blog.example.com/posts?page=3`
|
11
|
10
|
|
|
@@ -62,4 +61,4 @@
|
62
|
61
|
* Make use of Spring's built-in page number pagination support by researching `org.springframework.data.repository.PagingAndSortingRepository`.
|
63
|
62
|
* Modify respective `Controller` methods to handle `Pageable` arguments.
|
64
|
63
|
* Send a `GET` request to `http://localhost:8080/polls?page=0&size=2` via Postman.
|
65
|
|
- * Ensure the response is a `JSON` object with pagination-specific information.
|
|
64
|
+* Ensure the response is a `JSON` object with pagination-specific information.
|