Getting Bad Request error while updating email category with Office 365 API and HttpClient in C#
问题 I'm trying to to update email category and also mark it as read after that with the help of Outlook 365 API and HttpClient . Following this tutorial. In the tutorial the code is as below to update category and mark as read but, I'm not getting that how should I attach these details to HttpClient and request. PATCH https://outlook.office.com/api/v2.0/me/messages/AAMkAGE0Mz8S-AAA= Content-Type: application/json { "Categories": [ "Orange category", "Green category" ], "IsRead": true } The method