Graph (1 / 16): Which of the following headers is mandatory in the response from Microsoft Graph?
Answer:
request-id is always included in responses from Microsoft Graph. It is useful for diagnosing issues and for support purposes, as it allows the Microsoft support team to trace the request in their logs.
Authorization is not a mandatory response header. It's a request header used to authenticate the client (user or application) to the server, typically with a bearer token.
Content-Type is a response header but it's not always mandatory. It is used to specify the media type of the resource, i.e., it tells the client what the content type of the returned content actually is.
If-Match is not a mandatory response header. It's a request header used with requests that are conditionally based on the ETag header, for instance, when implementing optimistic concurrency control. It is used to ensure that the client is modifying a resource that hasn't been changed by someone else since it was last fetched.