http - REST API Design with Composite ID -


what best way design restful resource object composite id? example, suppose have get /people resource getting list of person records. person doesn't have single id; instead, identified firstname, lastname, , birthdate. how should design resource single person?

i use 1 of following variations:

get /people/john/smith/1973-12-01 

or

get /people/john,smith,1973-12-01 

Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -