So I am using Server Code to store sensitive data in files in a specific administration folder on the Backendless server. I use the Blob type to create the file content to save. But whenever the server executes:
const otherEmails = new Blob([JSON.stringify(otherEmailList)], {
type: “application/json”
});
(Assume otherEmailList is a valid Javascript Object)
I seem to get this error:
VM20266:1 POST https://api.backendless.com/APPKEY/RESTKEY/services/MyService/sendAdminMail 400 (Bad Request)
mail.js:358 Message Error Error: Request failed with status code 400
at createError (createError.js:17)
at settle (settle.js:19)
at XMLHttpRequest.handleLoad (xhr.js:78)