4 Protocol Examples

The following example shows how the client retrieves a photo. This example requests a photo 120 pixels high and 120 pixels wide associated with the email address "user1@contoso.com".

  
 Request (HTTP GET)
 https://outlook.office365.com/ews/Exchange.asmx/s/GetUserPhoto?email=user1%40contoso.com&size=HR120x120
 Response
 Headers
 Content-Type     image/jpeg
 ETag      "889B7442"
 Body (payload)
 <binary JPEG image>