How to do a x-www-form-urlencoded POST login using cypress? – Javascript
I'm trying to build a direct API login using cypress. The app I want to test uses nextAuthJS (REST docs) With postman I checked successfully the login POST request with this body as x-www-form-urlencoded: username: 'user' password: 'pass' csrfToken: token…