Home Ask Login Register

Developers Planet

Your answer is one click away!

Tool Man February 2016

Upload multiple files in ionic Cordova using one HTTP request

I have seen ways to upload a file that originates from a <form> <input> but what I am trying to do in ionic is snap a photo using the camera plugin, then record audio using the media plugin and finally uploading both files in the same HTTP POST request. I know how to snap the photo and record the audio. I just need input on uploading both files in the same request. Anyone have insight how this can be done?

Answers


Tool Man February 2016

I resolved my issue with the following stackoverflow answer. Hopefully this will help others out in the future.

http://stackoverflow.com/a/25995009/4891914

Post Status

Asked in February 2016
Viewed 2,614 times
Voted 4
Answered 1 times

Search




Leave an answer


Quote of the day: live life