Hey Russ
Thanks for your reply. Not sure, what the best practice is, when it comes to serving text and binary data, in a response.
But, now that I think more about it, it makes more sense to send {'text_url' : 'url_of_image' or 'filename_of_image'}, and subsequent requests to server would only involve serving binary data, which is image.
Also, what is the preferred practice, when it comes to sending text and binary data. I am sure, it depends, but what is the most commonly used approach
Is it
1. Sending base64 encoded data
or
2. Sending URI and making subsequent requests to get binary data for those URIs