Sending custom HTTP request with PHP
问题 I am trying to authenticate with the new Office 365 API. I have successfully authenticated and I'm swimming in a garden of roses. However, the last part is to sent a custom HTTP request with my shiny new access token. It doesn't seem to be working though. Can someone please outline how to send the http request detailed below with PHP? GET https://outlook.office365.com/EWS/OData/Me/Inbox/Messages?$top=5 User-Agent: My-Cool-WebApp/1.0 client-request-id: 9aa1c740-25e2-4841-9146-ef7018f7bf37