Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

Authenticating to Microsoft AI School API

$
0
0

Hey everyone,

I'm trying to get use data from the Microsoft AI School. I see that there is an API available that utilizes the user's cookie as authentication.

https://aischool.microsoft.com/api/en-us/profile

This returns a JSON value with everything that I need.

{"uniqueId": null,"email": null,"firstName": "","lastName": "","theme": "Light","isAnonymous": true,"savedModules": [],"recentlyViewedModules": [],"completedModuleContents": [],"profilePicture": null,"curatedLearningPaths": [],"activity": null,"firstActivity": null,"ratings": [],"id": null
}

Unfortunately (or for security reasons - fortunately), I don't have access to another domain's cookie which is required for the XHR GET request to the API. I was able to verify this by manually inserting the cookie value into the XHR request and received my profile data.

My question: Does anyone know anything about this API? How to authenticate via OAUTH or even basic authentication to it, or perhaps another way of getting this data? I've looked into the Graph API, but doesn't seem to hold this information.

Thanks in advance!


Jeremy Corbello | https://www.jeremycorbello.com


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>