Answer the question
In order to leave comments, you need to log in
IE again excelled or wrong encoding in NodeJS?
The point is. There is a NodeJS get method that takes the name of the server as input and checks it for availability by parameters.
app.get('/addserver', function(request, response) {
var $set = {};
$set[request.query.server] = {"available":true, "token":request.query.accesskey};
validator.check($set).done(function(){
response.send('OK!');
response.end();
}).fail(function(e){
response.send(e);
response.end();
});
});
http://***.ru/addserver?server=РИЦ224&accesskey=a5d86F...обрезано
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question