From da7840c6eaff7750892382a2a79957e6d36db04c Mon Sep 17 00:00:00 2001 From: Val <35149642+vkservicesllc@users.noreply.github.com> Date: Thu, 8 Nov 2018 10:28:15 -0500 Subject: [PATCH] Update jsonCap.js --- ajax-requests/js/jsonCap.js | 2 ++ 1 file changed, 2 insertions(+) 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.'); }