You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Request using Form data work if debug mode is not activate with version 0.27.2 but statusText was undefined
If i using version 0.26.0, this work in debug mode but don't work in production mode and statusText was defined.
Describe the issue
Request using Form data work if debug mode is not activate with version 0.27.2 but statusText was undefined
If i using version 0.26.0, this work in debug mode but don't work in production mode and statusText was defined.
Example Code
loginUser: (data) => {
let formdata = new FormData();
formdata.append("l", data.username)
formdata.append("p", data.password)
return instance({
method: 'post',
url:"admin/requetes_ws_divers.php?ajaxAction=WSlogin",
data:formdata,
headers: {"Content-Type": "multipart/form-data;" },
})
}
Environment
The text was updated successfully, but these errors were encountered: