Graph API get messages with content type of text
Hi all,
I'm working on a graph API integration where I get and load in messages from Graph API. I've got a minor problem in which the content is always returned in html.
In the get message documentation (Get message - Microsoft Graph v1.0 | Microsoft Docs) there is a header, 'Prefer: outlook.body-content-type' which allows for the return type to be set to text which makes it easier to extract the content.
The problem is, when I put this in the header field on an integration I get the following error message:
The header name Prefer: outlook.body-content-type is not valid. A header name may only contain letters, numbers, and the following special characters ! # $ % & ’’ * + - . ^ _ ` | ~
When I try to break the header up it always returns failure. Does anyone know the correct format to put the header name and value pair in?
Thanks in advance
