I am trying to access the items under a list in a subsite of sharepoint site collection using REST API.
To access the items of a list in a site we use: https://Server/Site/_api/web/lists/getbytitle('myList')/items (it works)
But if I try to use the same for a subsite it doesn't work: https://Server/Site/SubSite/_api/web/lists/getbytitle('myList')/items
Any idea on how to achieve this?
I have gone through the documentation here http://msdn.microsoft.com/en-us/library/fp142385.aspx, but it doesn't give any info on subsites. Postman ERROR