Is is bad practice to put a period in a URI path?
Posted
by saille
on Stack Overflow
See other posts from Stack Overflow
or by saille
Published on 2010-04-20T21:22:23Z
Indexed on
2010/04/20
21:33 UTC
Read the original article
Hit count: 260
I am designing a REST API for a web application. I want to clearly version the API so that the interface can be changed in future without breaking existing services. So in my v1.0 API I want to clearly identify it as the v1.0 API, leaving me the freedom to release a future v1.1 version with breaking changes.
My question is, would a period in the path component of a URI be bad practice?
eg. Is there any good reason not to use http://mysite.com/myapi/v1.0/services as a URI to my service?
© Stack Overflow or respective owner