access denied while accessing a sharepoint 2013 list over http using rest -


i trying access sharepoint 2013 list using rest on https

i used following syntax

https://name.sharepoint.com/sites/sitename/_api/web/lists

but respond error says access denied. not have permission perform action or access resource

should give permission somewhere?what might wrong request?

in future post on sharepoint.stackexchange.com bud faster answer, saw accident on google query.

basically design, isn't giving permission pre authorised accounts direct access without authentication , security trimmed after that.

otherwise need authenticate against api oauth.

the rest api being massive subject cannot possibly cover here recommend google:

"using oauth sharepoint rest api"

some links are:

http://msdn.microsoft.com/en-gb/library/jj164022.aspx
http://www.sharepointnutsandbolts.com/2013/01/calling-sharepoint-search-using-rest-eg.html

good luck matey.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -