Hello,
This is a small post on how to set feed options
to view the REST data in Browser (especially in IE).
As we know generally
To view the list using REST, we use this url
http://sitename:portnumber/_api/web/lists/getbytitle('listname')
To view all items :
http://sitename:portnumber/_api/web/lists/getbytitle('listname')/items
To view a specific item by its Id :
http://sitename:portnumber/_api/web/lists/getbytitle('listname')/items('ItemId')
To resolve and see the data, set these
options in browser
Go to Tools--> Internet Options-->
Content --> Feeds and Web Slices provide---> Settings-->Uncheck the
"Turn on feed reading view"(By default it is checked in state)
Now go and refresh the page(or click on atom
view), you can see the List in XML Format like below
Note : In this post I have shown the
settings of IE10. For other versions, setting may vary slightly.
Thanks,
Purna
No comments:
Post a Comment