cy.request with FormData and QueryString
correct FormData snippet
please pass form: true and with the payload as body rather than use FormData
cy.request({
url,
method: "post",
headers: {
Authorization: "Basic xxx",
Accept: "*/*",
"Cache-Control": "no-cache",
"Accept-Encoding": "gzip, deflate, br"
},
form: true,
body: {
"xxx":"yyy"
}
}).then((response) => {})
I tried create a FormData object and past it as