logo

Crowdly

Le code suivant est correct pour récupérer et renvoyer un objet au format JSON :...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Le code suivant est correct pour récupérer et renvoyer un objet au format JSON :

var express = require('express');

var app = express();

app.post('/', function (req, res) {

res.json(req.body);

});

app.listen(3000, function () {

console.log('Example app listening on port 3000!');

});

More questions like this

Want instant access to all verified answers on moodle-miage-toulouse.westeurope.cloudapp.azure.com?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!