This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "practice": "Use resource nouns in paths and let HTTP methods express the action.", | |
| "category": "url-design", | |
| "good_example": "GET /users/123", | |
| "bad_example": "GET /getUser?id=123", | |
| "rationale": "Resource-oriented paths make APIs predictable because the verb is already carried by the HTTP method.", | |
| "http_methods_involved": ["GET", "POST", "PUT", "PATCH", "DELETE"], | |
| "references": ["RFC 9110 HTTP Semantics", "Roy Fielding REST dissertation"] | |
| }, |