Closed devdomsos closed 1 month ago
There seems to be code missing for adding post requests. I have tried for several hours to send a post request but I am getting undefined bodies etc.
One of the missing peaces for sure was :
app.use(express.json()); app.use(express.urlencoded())
but that didnt help. It just removed one problem.
I managed to get this up and running. Just try postman instead of swagger when you test. You will save hours...
There seems to be code missing for adding post requests. I have tried for several hours to send a post request but I am getting undefined bodies etc.
One of the missing peaces for sure was :
app.use(express.json()); app.use(express.urlencoded())
but that didnt help. It just removed one problem.