P
P
phpavel2019-02-24 07:00:05
Node.js
phpavel, 2019-02-24 07:00:05

How to output data to node js server?

The node js server receives POST requests via AJAX.

app.post('/', function (req, res) {
  console.log(req.body);
});


How to display all of them not in the console, but immediately on the main page in real-time?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Malyarov, 2019-02-24
@Konstantin18ko

Homepage of what?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question