HI,
 I am sending the data as application/json having image file and i am using 
skipper-gridfs node module to store it in mongo database directly which 
works fine .But before storing I need to check the file size and type. My 
problem is I am simply sending the response for the api call via google 
chrome rest client like below.
   
*  function(req, res) {*

*        res.status(200).send({"message":"Done"});*
*     }*

In this case , i am not getting any response .I don't know why please help 
me in this. I am sending the image in a post request of size 200 kb.  I am 
not doing anything instead only sending the response.

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/a84dbdca-493a-4668-b277-34fecce18cc1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to