title: Cypress - API Call with request payload - how to handle payload in the code
body: <p>I need help to understand how to use cy.route() and cy.wait() to check if each of the three API calls below result is 200 or say successful.</p>
  
  <p>HTTP address</p>
  
  <p>Request URL: <a href="https://......../ABC" rel="nofollow noreferrer">https://......../ABC</a>
  Request Method: POST
  Status Code: 200 OK</p>
  
  <p>Request Payload - Based on the value, I am seeing three API calls using above Http request as below</p>
  
  <pre><code>{CountryCode: "USA", countryRatingType: "A"}
  {CountryCode: "USA", countryRatingType: "B"}
  {CountryCode: "USA", countryRatingType: "C"}
  </code></pre>
  
  <p>In the above three API calls, countryRatingType remains static for respective API but country code value changes as per input</p>
  
  <p>Let's say if I selected CAN as a country it will be</p>
  
  <pre><code>{CountryCode: "CAN", countryRatingType: "A"}
  {CountryCode: "CAN", countryRatingType: "B"}
  {CountryCode: "CAN", countryRatingType: "C"}
  </code></pre>