Capture JSON response in browser

I have a piece of code that compares a header’s value to a value in hand and returns a true / false.
Please let me know what that object is, that captures the entire response to my query, which is a json response.

I’m not at all sure I understood your question… but it sounds like you might be talking about eTags and If-Match headers? Is that your question? You just wanted the name for that technique?