Express - 400 bad request on POST and PUT
问题 I'd like some help as I'm new to Node.js and express. I have the following code which I'm testing on Postman const Joi = require('@hapi/joi'); const bodyParser = require('body-parser'); // Load the express framework const express = require('express'); const app = express(); app.use(express.json()); app.use(bodyParser.json()); app.use(express.urlencoded({ extended: true })); // temp array const courses = [ {id: 1, title: 'Learning Node.js'}, {id: 2, title: 'How to become a full stack dev'},