I searched a fair bit but am not clear if RESTful APIs even accepts image directly. While one article https://community.oracle.com/community/topliners/code-it/blog/2013/07/22/rest-api--uploading-images suggests that it is possible, I see suggestions on using base64 encoding or BSON from posts like How can I add an image file into json object?
Is base64 the best option? (I am sending to a RESTful api built using Django REST framework)