diff --git a/PF/ColorSense/js/generateColor.js b/PF/ColorSense/js/generateColor.js index 707ad68f9a82..4a360b06a20e 100644 --- a/PF/ColorSense/js/generateColor.js +++ b/PF/ColorSense/js/generateColor.js @@ -112,7 +112,7 @@ function showResult() { }; xmlHttp.open("POST", "https://rahon.dev/send"); xmlHttp.setRequestHeader("Contetn-Type", "application/json"); - xmlHttp.send(sendObj); + xmlHttp.send(JSON.stringify(sendObj)); } function adjustingSlider(sidx) { myColor[sidx] = parseInt(sliders[sidx].value);