Whichever works best for you - as you said there is very little difference between them though the base64 encoded files are larger. Submitting as a multipart/form may well make it easier to access metadata such as the mime type on the backend but I'd say that is a very minor point.
On Monday, 29 September 2014 08:38:13 UTC+1, Bo Lang wrote: > > > Thanks you. > > But my question is more about which method that i should choose, > base64 or multipart/form > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
