Skip to content

Latest commit

 

History

History

server-communication__request

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Making HTTP requests

How to use cy.request, window.fetch, and cy.task commands to make HTTP requests to the server with and without cookies

The cypress/e2e/spec.cy.js shows how to make HTTP requests with or without cookies. Read the blog post Cypress request and cookies for details.

To run assuming the dependencies were installed in the root folder:

$ npm run dev

Click on the spec file.