web services - In restful url design, is it good that reusing url? -


there 1 restful url like, http://www.somedoamin.com/cars/12

the url shared many people. , someday car 12 removed , url 404.

and number 12 reused car. url isn't 404 now, different previous car.

i wonder situation ok, because url shared before car changed.

people may see car sharer want share before. incorrect information.

thanks help!

you should think of url identifier (id) resource points to.

if underling resource different, different id should used.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -