ในการสร้าง API ด้วย Node.js และ Express.js เราควรใช้ middleware ใดเพื่อจัดการกับข้อมูล JSON ที่ส่งเข้ามาใน request body?

saig-web-techmastery-qizz

Quiz
•
Computers
•
University
•
Medium
Tamtikorn Kietipungchai
Used 3+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
express.static()
express.json()
express.urlencoded()
express.Router()
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
เราควรใช้คำสั่งใดในการติดตั้ง Express.js ในโปรเจ็กต์ Node.js?
npm install node
npm install express-api
npm install express
npm install express-js
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
ใน Express.js, คำสั่งใดใช้สำหรับกำหนดเส้นทาง HTTP GET?
app.get()
app.request()
app.GET()
app.Get()
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
ในการส่ง response กลับไปยัง client ด้วยข้อความ "Hello, World!" ใน Express.js เราจะใช้คำสั่งใด?
res.send("Hello, World!")
res.end("Hello, World!")
res.write("Hello, World!")
res.text("Hello, World!")
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
ในการกำหนดพอร์ตที่ Express.js จะรัน เราใช้คำสั่งใด?
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
ใน HTML, แท็กใดใช้สำหรับแสดงรูปภาพ?
<image>
<picture>
<img>
<src>
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
ใน JavaScript, คำสั่งใดใช้สำหรับสร้างตัวแปรที่ค่าไม่สามารถเปลี่ยนแปลงได้?
let
var
const
fixed
Create a free account and access millions of resources
Similar Resources on Quizizz
22 questions
SE - Test for Reporting Team

Quiz
•
University
20 questions
Node.js Server

Quiz
•
University
17 questions
APA1-Week2-assignment2-quiz

Quiz
•
University
20 questions
Quiz Node.js + Express (Nivel Básico)

Quiz
•
University
17 questions
Fundamentos de JS

Quiz
•
University
15 questions
JavaScript Basics

Quiz
•
12th Grade - University
20 questions
PWA Progress Web Aplication

Quiz
•
University
20 questions
ITO XI & FEST I-LABS

Quiz
•
University
Popular Resources on Quizizz
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade