Kizspy | Question: 21
(Choose 1 answer)
Analyze the following codes:
const express = require('express');const app = express();
app.get('/', (req, res) => { res.send('Hello, this is a GET request');});
app.listen(3000, () => {
console.log('Server is running on port 3000');
What is right URL to display the text "Hello, this is a GET request?
A.
http://localhost:3000/
B.
http://localhost:3000/GET
C.
http://localhost:3000/POST
D.
http://localhost:3000/PUT
FUOVER