I want to consume a file(pdf file created using iText library) from rest web service written in java to android client. I think one way is encoding the file to base64 string and then sending string. I am searching in the web for any other better approach but unable to find.
Is there any other better approach to accomplish this. please help me .
Thanks
Since this file is likely to be just one part of a larger response, base64 is usually the best option.