Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

req.body showing undefined

//express doesn't by default support json data input so use express.json() middleware
const app= express();
app.use(express.json());
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #showing #undefined
ADD COMMENT
Topic
Name
6+5 =