AJAX Retrieve Image Blob You develop an HTML5 application. The application uses an image that is returned from an HTTP POST request. You develop the following code. You need to display the loaded image in the application. Which code segment should you insert at line 04? by Maverick Calibre June 02, 2018 HTML <input value="Click to Load Image" type="button" onclick="loadDoc()"/> JavaScript function loadDoc() { var xhttp = new XMLHttpRequest(); xhttp.open("GET", "https://fiddle.jshell.net/img/logo.png", true); var img = document.createElement('img'); xhttp.responseType = "blob"; xhttp.onload = function(e) { if (xhttp.readyState == 4 && xhttp.status == 200) { img.src = window.URL.createObjectURL(this.response); document.body.appendChild(img); } }; xhttp.send(); }