Q. Which method parses JSON bodies?

A
app.json()
B
app.use(express.json())
C
app.parse()
D
app.body()
Solution:

app.use(express.json()) parses JSON request bodies.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!