Can any one explain what is the advantage of Base64
as well Multipart
I know Multipart is faster then
Base64
...
But still many developers are using Base64...I studied both documentation but i am not clear
Base64
Base64 is a way to encode binary data into an ASCII character format by translating it into a radix-64 representation.
I recommend you that never use Base64 for large file/data upload to server beacuse it's convert whole data and post it to server.
Multipart
Multipart is a way to upload file/data to server in the form of part which are in bytes. Multpart/form-data is applied to a form though, so you can send everything in a multi-part form, including "regular" data also.