DEV Community

SHANU KUMAR SUMAN
SHANU KUMAR SUMAN

Posted on

Download all attachment (fileAttachment) to a directory using Office365 mail API

I am trying to download all attachment (fileAttachment) using Office365 mail API , I am using GET https://graph.microsoft.com/v1.0/me/messages/AAMkAGUzY5QKjAAA=/attachments

I get contentbyte in response to above get request How do I use this contentByte to form actual file and save it at a locally at given location?

P.S. I am using…

Top comments (0)