Rest API - URL and Resource Design
Which of the following URLs follows the best practice of avoiding verbs in REST API design?
/users/123 represent a user resource with ID 123./getUser/123, /createUser, and /deleteUser/123 contain verbs (get, create, delete), which is against best practice./users/123 -> Option D/users/123 [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions