What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-02-11 11:50:02
UploadCsv.js:17 Uncaught TypeError: Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'.
var formData = new FormData(); formData.append("username", "Groucho"); formData.append("accountnum", 123456); // number 123456 is immediately converted to a string "123456" // HTML file input, chosen by user formD... Add solution -
Javascript 2021-10-16 23:59:04
posting to api with vuex
//declare the body formlet loginFormData = new FormData();//add the parametersloginFormData.set('email', state.userDetails.email);loginFormData.set('password', state.userDetails.password);const config = { headers: { 'Content-Type': `multipart/fo... Add solution