Index: trunk/webapps/cptms/js/harLayer.js
===================================================================
--- trunk/webapps/cptms/js/harLayer.js	(revision 400)
+++ trunk/webapps/cptms/js/harLayer.js	(revision 413)
@@ -117,13 +117,13 @@
         outString = "{\"data\":" + jsonstring + "}";
 
-        var xhttp = new XMLHttpRequest();
-        xhttp.open("GET", "../cgi-bin/saveHARmessage.py?msg=" + outString, true);
-        xhttp.send();
-        // Using POST might be a better idea ... haven't tried this yet
-        //      var xhr = new XMLHttpRequest();
-        //      xhr.open("POST", "/cgi-bin/saveMessage.py?", true);
-        //      xhr.setRequestHeader('Content-Type', 'application/json; charset=UTF-8');
+        //var xhttp = new XMLHttpRequest();
+        //xhttp.open("GET", "../cgi-bin/saveHARmessage.py?msg=" + outString, true);
+        //xhttp.send();
+        // Using POST to send the data 
+        var xhr = new XMLHttpRequest();
+        xhr.open("POST", "../cgi-bin/saveHARmessage.py", true);
+        xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
         // send the collected data as JSON
-        //      xhr.send(JSON.stringify(messageList));
+        xhr.send("msg="+outString);
     }
 
