Skip to main content

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