This commit is contained in:
Luis Fernando Molina committed 2018-11-01 13:34:58 +01:00
1 parent 92cc9975e5
commit 5f49fa6f42
3 files changed
+15 -9

No files matched your search

+10 -3
View File
@@ -122,10 +122,17 @@ function callServer(pContentToSend, pPath, callBackFunction) {
} else {
let blob = new Blob([pContentToSend], { type: 'text/plain' });
try {
xhttp.open("POST", pPath, true);
xhttp.send(blob);
let blob = new Blob([pContentToSend], { type: 'text/plain' });
xhttp.open("POST", pPath, true);
xhttp.send(blob);
} catch (err) {
if (ERROR_LOG === true) { console.log(spacePad(MODULE_NAME, 50) + " : " + "[ERROR] callServer -> err.message = " & err.message); }
}
}
}