title: How can I test the data in the request that is sent during cypress test?
body: <p>I have a Vue application that is using mongodb and flask for the back-end. I am trying to test the code as follows. <a href="https://i.stack.imgur.com/H9oMo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/H9oMo.png" alt="enter image description here" /></a></p>
  <p>There is a form as you can see from the image above. When I enter the URL's, tokens, password, ssh, and project name, and click Create button, I add them to an object and send them to the database in a request.</p>
  <p>I want to write these values in Cypress.js (this part is done), and click the create button. After clicking create button I want to test the data that is sent as request. How can I reach the body in the request in cypress?</p>
  <p><a href="https://i.stack.imgur.com/l6dgB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/l6dgB.png" alt="
  " /></a></p>
  <p><a href="https://i.stack.imgur.com/zNBii.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zNBii.png" alt="enter image description here" /></a></p>