SDN302_-_FA_2024_-_Block_5_-_FE_3224.webp
B

SDN302_-_FA_2024_-_Block_5_-_FE_3224.webp

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

Thông tin

Category
SDN302
Thêm bởi
Bích Thủy
Ngày thêm
Lượt xem
3,366
Lượt bình luận
18
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom