RESTful API Design
Learn RESTful API Design (REST API with Spring MVC, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
Fresher Notes RESTful API design means modelling your domain as resources with clear URLs, correct HTTP methods and meaningful status codes. Use nouns in URLs: /api/orders , not /api/getOrders ; the HTTP method is the verb. Plural collections and nesting: /api/users/5/orders reads as the orders of user 5.
More lessons in REST API with Spring MVC
- REST Architecture
- REST Controller
- @RestController
- JSON Request
- JSON Response
- Jackson
- ObjectMapper
- JSON Serialization
- JSON Deserialization
- HttpMessageConverter
- MappingJackson2HttpMessageConverter
- ResponseEntity
- HTTP Status Codes
- API Versioning
- REST API Best Practices
- Mini Project: REST Details: PUT vs PATCH, Pagination, ETag and Allowed Methods