Pure-rest/odata/cgi stiilide võrdlus

Allikas: Lambda

Based on odata example, how would a simple one-object api query look in different styles:

pure-rest-style:
https://services.odata.org/v4/TripPinServiceRW/People/russellwhyte
soovitus: flask

option for pure rest style:
https://services.odata.org/v4/TripPinServiceRW/People#russellwhyte

odata-style:
https://services.odata.org/v4/TripPinServiceRW/People('russellwhyte')

cgi-style:
https://services.odata.org/v4/TripPinServiceRW?table=People&id=russellwhyte

mix of rest and cgi-style:
https://services.odata.org/v4/TripPinServiceRW/People?id=russellwhyte