I am trying to fetch data from https://mysite.sharpoint.com, I am able to get data from chrome( for example, request to https://mysite.sharepoint.com/_api/web/lists) as my credentials are stored in Chrome. If I try to get the same request from REST client(Post man or ARC) or C#(HttpClient), I face 403 Forbidden error.
I followed steps given in http://paulryan.com.au/2014/spo-remote-authentication-rest/, I am facing 403 Forbidden error at step 3 (Get the request digest). I need to access data in share point online using REST api. Please share your suggestions.
NOTE: I have following 3 inputs from user,
- Share point site URL
- Username
- password