php - How to display image using onenote api? -
i using onenote api notebook, section , pages. have retrieved page content using onenote api. images displaying broken link.
i got error message when try retrieve image using onenote api.
odata feature not implemented.
please advise how solve issue.
thanks prabhu
if recalled page's content contains images, html response include img tags src atttribute containing uri of resource, example: https://www.onenote.com/api/v1.0/resources/{id}/$value. can make separate request these endpoints retrieve binary contents of images. images won't render directly in browser because private , require authorization retrieve them (like rest of page content).
could make sure attempting on uri of form mentioned above. if still hit errors, please provide exact uri calling , x-correlationid response header value. thanks
Comments
Post a Comment