I am writing an WEB API project where I use OData for advcened querying of resources. The service should be RESTful. But I am not sure if OData is RESTful because of URI format.
Everywhere I look REST URI format looks like this
http://example.com/resources/142
But OData URI format should be like this
http://example.com/resources(142)
I am not sure if both is right for REST or OData is not completly RESTful.