chefzaid / emailator

A set of mailing tools - bulk sending, extraction, verification, and forwarding.
1 stars 3 forks source link

Upload mechanism analysis #36

Open chefzaid opened 8 years ago

chefzaid commented 8 years ago

Solution 1: The files will be uploaded through the web app (angular) and the path will be used as a reference in the DB ==> simple, nothing to change for the code already implemented

Solution 2: The REST service takes a Base64 encoded string of the file ==> heavier solution, needs to change the implemented code. Gain: Your REST service could be exposed as a standalone API without the need of having to upload the files separately. But then how someone would base encode his files without third party desktop software.

To think about...