You create a custom list named Products.
You need to perform a Representational State Transfer (REST) query that returns the first product in the list.
Which URL should you use?
A.
http://intranet/_vti_bin/ListData.svc/Products(1)
B.
http://intranet/_vti_bin/ListData.svc/Products $filter=1
C.
http://intranet/Lists/Products/AllItems.aspx contents=1
D.
http://intranet/Lists/Products/ListData.svc $expand=1
Explanation:
MNEMONIC RULE: “Products(1)”http://localhost/_vti_bin/listdata.svc/Parts(3)
The preceding URL returns the Parts list item with an ID value of 3 as an Atom feed.
Using the REST Interface
http://msdn.microsoft.com/en-us/library/ff798339.aspx