It’s no different from handling a Nodejs stream. You need to stream the request somewhere using Node streams and some appropriate npm package. To S3 or a persistent local temp directory, etc.
It’s pretty complex to get right, so I recommend CollectionFS. It sets up the rest APIs for you, and you can change their URL. Or you can create your own but still pass off the stream to CFS to handle the difficult stuff.
My REST clients are android and ios and using meteor as the REST backend. In this particular case can anyone elaborate more. what i will do here. i have to to upload images and videos with some JSON.
@lancy
Hey bro, have you found solution about uploading file through rest api with native android,?
I have the same problem and I have not found solution. May be you have
figure out your problem so you can share to me how to upload file.
Thank you
@timbrandin@ccorcos@aldeed@capensisma
Hey guys, I build a web service REST API from meteor and the client is native
android java. I wanna upload file from my android using rest or ddp. but
until now, i havent found the solution about uploading file via ddp or
using rest. Anybody wants to help me?
Last use amazon s3 file bucket api for the file uploading it is easy and return you a url then you can store that into your database.
We are using last solution - S3 for now. but surly in future i will find out some good solution for file uploading and @mdg is also working on this to provide a reliable solution.