XHR with window.open in the response handler

GET request POST request