I want to serve a blob from my google endpoint server to an android app; not a link to the blob, the actual blob. Do I have to encode the blob in Base64 to send it from the endpoint or is that handled by app-engine?
Please do not confuse this question with the reverse path of sending image from front-end to backend. I want to send from the SERVER to the CLIENT. Do I need to encode the blob or does app-engine handle that? Oh, and I am using Java.
No, you don't have to encode the blob in Base64. You can have a field in an Object that you're returning that contains an array of bytes. Marshalling will be handled by the Cloud Endpoints layer for you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With