https://cypress.io logo
HI everyone, I have a simple question: I've been t...
# e2e-testing
f
HI everyone, I have a simple question: I've been testing APIs with cypress for the last three weeks (so I'm no expert) but when I try to send a PUT or a DELETE request with content-type: multipart/form-data with cy.request it doesn't work at all, meaning that it sends the request but the body of the request where i out my formData is empty so tha API answers with a 400 - bad request. As I try the same code but with a POST request it works perfectly fine. Can someone tell me why? Are put/delete request with multipart/form-data not supported? If so, do you know if thre will be a fix in the versions? Thank you for your help