https post

This commit is contained in:
barwie2@st.amu.edu.pl 2020-03-09 19:55:17 +01:00
parent b3b4caefe7
commit e66c547191
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ var server = http.createServer(function (request, response) {
});
try {
request.on('end', function () {
var body = body.split("&");
body = body.split("&");
var send_array = {
"type": "data",
"id": body[1],