title: cypress XHR API call validation in test cases
body: <p>I am exploring if I can use cypress for end-to-end testing or not in angular? I am super beginner in it. </p>
  
  <p>Cypress has some server() instance for XHR. </p>
  
  <p><strong>Question:</strong> 
  Suppose I am testing the login page so I can write test cases for querying elements and do the validation. In this process the browser will be making some API call, will it possible to write test cases for validating what was the statusCode the API had retured? What was XHR API response etc?</p>