I am getting started and could not find anything or anything that i understand on uploading POST submitted image in Meteor, is it supported right out of the box, if not how do i handle it?
So Far Manage to break it down as:
- I need to make Server side Route to handle POST request (Not solid Idea on where to look for it)
I need to use some kind of middleware for accepting POST Data (File/Image) [No Idea how to do it or where to look to learn it]
Integrate Image Upload Meteor Package with that received Data and Upload the Image [with little playing around may be i can do it]
SO my question is how do i do, Step 1, 2 and 3, where do i have to look into? If its the bad approach, please suggest me a good one.
Update
The reason I need to handle POST on my own is because i needed to upload images that are send by WYSIWYG text editors, many of them send the inline Images via POST url. Meteor-CollectionFS cannot be used with POST and I couldn't figure out how to integrate Meteor Upload with mapped POST URL and send the data to Meteor Upload for insert after receiving the file object at server.