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.