Error while getting data from http://...-my.sharepoint.com
XMLHttpRequest cannot load https://aaaa-my.sharepoint.com/_api/SP.UserProfiles.PeopleManager/GetMyProperties. Response to preflight request doesn't pass access control check: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. Origin 'https://aaaa.sharepoint.com' is therefore not allowed access. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
Please help me how to fix them. Thanks