Nick Parsons Thank you for the great article. I followed the steps that you had laid out here. Everything worked except PUT and DELETE. I believe it is because during POST we let MongoDB generate the ObjectID and it is true ObjectID and not a string. Subsequent calls PUT and DELETE code uses string as _id param and the DB fails to find the right document.
I slightly modified the code to accommodate the conversion.