I am developing a Spring MVC web service. I am trying to use best practices of REST URI design. For example for getting an account the URI will be
GET http://blablabla.com/api/accounts/123
My question is what if the account number/id is critical information and must not be in URI. What is the best approach of URI design if the id that defines the resource is a critical information of a system. Should web service get the id in request header or body? Or hash the id and contain it in URI?
Thanks in advance.