carlosazaustre / carlosazaustre/node-api-rest-example

No graba.

Open
#1 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
99
Forks
81
PR merge metrics
No merged PRs in 30d

Description

Carlos: tipeé todo este ejemplo siguiéndote por youtube, y no graba el registro en la BDD. Luego lo cloné y tampoco.

db.tvshows.find()
{ "_id" : ObjectId("540a25bd0fd3588460000001"), "__v" : 0 }
{ "_id" : ObjectId("540a25de0fd3588460000002"), "__v" : 0 }
{ "_id" : ObjectId("540a26a5432e5db372000001"), "__v" : 0 }

El console.log del método POST muestra {} y luego Created...

El json que le estoy enviando es el siguiente: (mediante postman)

{"title": "La familia Ingalls",
"year": 1980,
"country": "EEUU",
"poster": "---",
"seasons": 10,
"genre": "COMEDIA",
"summary": "NADA"}

Desde ya, muchas gracias!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.