Hi , thank you for your response , but in my case i work on ANG2/Office365 
apps so i use ADAL to perform authetification and provide Token , i had 
settings the requirement acces for Office graph rather than SHarepoint 
online and grinting all nedded prmissions . So this is my code samples that 
return the error its a part of component service :


const url="
https://myorg.sharepoint.com/sites/ProgedPfe/_api/web/lists/getByTitle('Param_List')/items
"
let headers = new Headers({ 'Authorization': 'Bearer ' + token ,"Accept": 
"application/json; odata=verbose",
'Access-Control-Allow-Origin':'http://localhost:8080',});
let options = new RequestOptions({ headers: headers });

    return this.http.get(url,options)
       .map((response: Response) => response.json()) ;   

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to