Successfully added
Software Development
by Chris
Use Nouns in the URI
It is strongly advised not to use Verbs in the URI. Instead, we should be using Nouns to make it simpler for the consumers to consume the services. Consider we have two services to retrieve user details and create a new user, /get/users and /create/user is said to be BAD practice. Instead, we should use GET mapping with the URI as /users and a POST mapping with the URI as /users.
Referenced in:
Comments