获取所有xhr请求

I'm trying to get all xhr status 200 and their information when completed. It is possible to get them together in some way or I would have to keep a reference to each of them when i send?

You can use jQuery's ajaxComplete,

$(document).ajaxComplete(function(event, xhr, settings) {
    if (xhr.status === 200) {
        //rest of the handler
    }
});

This will ensure all your ajax responses will hit this method when they're complete, an extra check will be required for the status of the response.

if you are using asp.net then you can add Application_EndRequest method in your global.asax file and check the response.