Cypress sends cookies automatically on cy.request

Viewed 536

I have a scenario where I want to send a POST request using cy.request() after the application has started. And I see that cookies are sent together which is according to the documentation.

The request I send should not use the cookies and use an bearer token for authentication. Is it possible to say explicitly to cypress not to use the cookies when sending the request ?

0 Answers
Related