Feb 25 2019 12:54 PM
I have created number of pages under "/SitePages" and want to retrieve them using SharePoint REST API.
The below one's doesn't work
_api/web/lists/getbytitle('SitePages')/Items
_api/web/lists/getbytitle('Pages')/Items
Feb 25 2019 02:50 PM
SolutionGot It -- Resolved --
/_api/Web/Lists(guid'SomeGUID')
/_api/Web/Lists(guid'SomeGUID')/Items(19)?$select=ID,Title
Feb 25 2019 02:50 PM
_api/web/lists/getbytitle('Site Pages')/Items
With a space as its looking for the Title not url :)
Cheers
Oct 22 2020 11:51 PM
@Tarundeep Singh Can you please elaborate little bit
I'm still couldn't get it
Oct 23 2020 05:24 AM
Feb 25 2019 02:50 PM
SolutionGot It -- Resolved --
/_api/Web/Lists(guid'SomeGUID')
/_api/Web/Lists(guid'SomeGUID')/Items(19)?$select=ID,Title