Ver código fonte

Update README.md

Git-Leon 7 anos atrás
pai
commit
5554f1e87e
1 arquivos alterados com 1 adições e 2 exclusões
  1. 1
    2
      README.md

+ 1
- 2
README.md Ver arquivo

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