Friday, 27 April 2012

View XML in IE (REST/OData call for WCF service)

When you type a REST URL on Internet explorer,
Example: http://localhost/test/_vti_bin/ListData.svc/MyContacts
you might see something like this


to view it in XML, go to Internet Explorer > Tools > Internet Options > Content > Settings > uncheck 'Turn on feed reading view'
and you will see the XML source on the browser (or you can always use the view source option)
For http://localhost/test/_vti_bin/ListData.svc/MyContacts(1)

No comments:

Post a Comment