Microsoft Exam Questions

You need to display the loaded image in the application…

You develop an HTML5 application. The application uses an image that is returned from an HTTP POST
request.
You develop the following code: (Line numbers are included for reference only.)

You need to display the loaded image in the application.Which code segment should you insert at line 04?

A.
Option A

B.
Option B

C.
Option C

D.
Option D

Explanation:
As an image will be returned the response type must be blob, not document.
Similarly, this.response must be used not this.responseText.
createObjectURL method