This is an example of using Cypress to test REST APIs.
We wrote a companion blog post that provides more details and explanation of this recipe.
Please read that if you'd like to understand more about writing E2E API tests in Cypress.
- Use
cy.request()
to perform API Testing - Use the Cypress GUI to help debug requests