matthoiland / restful-api-demo

Code from the video titled "Building a RESTful API in 5 Minutes"
115 stars 45 forks source link

Only "_id" and "__v" show up after POST #5

Open ItangSanjana opened 8 years ago

ItangSanjana commented 8 years ago

Great tutorial. Thank you for sharing. The POST method seems not correctly work to me. Only "_id" and "__v" show up after POST. GET and DELETE are OK. How to investigate this? Below is the picture after the POST method.

TIA.

screenshot from 2016-05-19 23 59 22

ahmedmelhady7 commented 7 years ago

I get the same problem, did you know why @matthoiland can you help please ?

ahmedmelhady7 commented 7 years ago

I got it now, my problem was using raw Text instead of raw JSON