Answer the question
In order to leave comments, you need to log in
How to process data received via ajax?
Hello, I am sending page data to the server js, it says that the data has been sent, but how to accept and process it in js?
Answer the question
In order to leave comments, you need to log in
Just like on a regular server.
Put some kind of framework, express for example, and then
router.get('/events', function(req, res, next) {
// ..
});
expressjs.com/en/4x/api.html#router
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question