https post

This commit is contained in:
barwie2@st.amu.edu.pl 2020-03-09 20:01:53 +01:00
parent 92361347d3
commit 06fd87b9c9

View File

@ -34,6 +34,7 @@ var server = http.createServer(function (request, response) {
"classes_code": body.classes_code "classes_code": body.classes_code
}; };
lookup[body.classes_code].send(JSON.stringify(send_array)); lookup[body.classes_code].send(JSON.stringify(send_array));
response.end("Added");
}); });
} catch (e) {console.log(e)} } catch (e) {console.log(e)}
} }