Cypress not sending headers from Angular to PHP API #28585
-
|
I've setup Cypress for the first time with a simple e2e test that fills in my login page and submits, it works but it seems the headers are not being sent to the server API (running in PHP) and thus eventually I am returned to the login page ... does anyone have a similar issue? my cypress.config.ts is On the server API, once the authentication is successful, and the next page requests to load a list of items, the Auth header is not in the request, so it fails, basically this line returns null:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
nevermind, I found it is related to #2879, basically the headers are returns in lowercase, so I need to change some server-side code |
Beta Was this translation helpful? Give feedback.
nevermind, I found it is related to #2879, basically the headers are returns in lowercase, so I need to change some server-side code