URI Design? Give in what URI shoul be?
- User
URI Design? Give in what URI shoul be?
- Assistant
A URI (Uniform Resource Identifier) should be designed to identify a unique resource on the internet. It should be able to provide access to the resource or describe its location. It is recommended to follow the following guidelines for designing a URI:
-
Use lowercase characters for the hostname and URIs
-
Avoid using spaces or special characters in URIs
-
Use hyphens or underscores to separate words in URIs
-
Use a trailing slash “/” on directories but not on files
-
Use a query string to add additional parameters to a URI
-
Use the appropriate protocol scheme (e.g., http, ftp, mailto) for the resource being accessed
-
URI should be short, meaningful, and easy to remember.
-
It should be stable and not change frequently to avoid broken links.
-
It should be globally unique to avoid conflicts with other resources on the internet.
-