I have an array models
with all the model names in my project. I get any of the model name in request.params.model
. I also get some data in request.body
. Now all I wanted to do is insert the data received into the collection pointed by request.params.model
. How can I achieve this?
via A.B.
No comments:
Post a Comment