I would like to ask you what error code should I return in this case:
Let's assume we have a web service with this path:
/customer-web/customers/{customerId}/subscription/{subscriptionId}
By default, if the user does not specify the subscriptionId, we get a 405 Method not allowed
but, if we omit the customerId instead, we get a 404 Not found
Is that correct? should we unify the error codes in some way?.
Thank you!
[EDIT] Just one more thing: If we assume, for example, DELETE method only... Will your answers be also the same? Thanks!