request post fail in create new data

Viewed 18

im trying to create a post API for using postman but, when I pass json data, this happen

enter image description here

Im trying using app.use(express.urlencoded({extended: true})) and app.use(express.json()) in the index.js file but nothing changes.

enter image description here

I dont know it is a problem with the server or the app.js

0 Answers
Related