diff --git a/ajax-requests/js/jsonCap.js b/ajax-requests/js/jsonCap.js index 8352940..84c687b 100644 --- a/ajax-requests/js/jsonCap.js +++ b/ajax-requests/js/jsonCap.js @@ -23,6 +23,8 @@ function captureJSON() { if (i == len) content += ''; } btnTxt = btnTxt.replace('capture', 'hide'); + var rh = xhr.getAllResponseHeaders(); + console.log(rh); } else { console.log('Connection to Server succeeded. Content was not received due to error.'); }