Consider the following code. const http = require(‘http’); c…
Consider the following code. const http = require(‘http’); const server = http.createServer((req, res) => { if (req.method === “GET”) { res.end(“Fetching data”); } else if (req.method === “POST”) { res.end(“Sending data”); } else { res.end(“Other request”); } }); server.listen(3000); What will the browser display if a user submits a form using POST to http://localhost:3000?