How to fetch Images returned in the html content of an assignment
Shaun Miah
0
Reputation points
Hi there,
In our product, we retrieve assignments from the Classroom GraphAPI: https://learn.microsoft.com/en-us/graph/api/educationassignment-get?view=graph-rest-1.0&tabs=http.
The assignments include instructions which are in HTML code. This is returned to us as <img height="670" width="588" data-d="XXXXX" data-i="XXXXX" data-e="png">
(data obfuscated for security reasons).
Due to the images not having a source, we are unable to fetch them and render them on the page.
Is there a GraphAPI endpoint that allows us to fetch the images embedded in the HTML content of an assignment?
Sign in to answer