I want to use the REST API for getting the list as mentioned in Complete basic operations using SharePoint 2013 REST endpoints
When I am trying to call https://siteurl/_api/web/lists in the rest client. I get the following error
<?xml version="1.0" encoding="utf-8"?><m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><m:code>-2147024891, System.UnauthorizedAccessException</m:code><m:message xml:lang="en-US">Access denied. You do not have permission to perform this action or access this resource.</m:message></m:error>