https post

This commit is contained in:
barwie2@st.amu.edu.pl 2020-03-09 19:55:17 +01:00
parent b3b4caefe7
commit e66c547191

View File

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