I have a project in Django, and I'm using mongoengine to save images into a Mongo database using GridFS.
All ok so far, but the problem is... when trying to retrieve the images via http request, with a REST API made with django-tastypie-mongoengine, I get back a json object like this:
{"file": "<GridFSProxy: 516ed7cf56ba7d01eb09f522>", "id": "516ed7cf56ba7d01eb09f524", "resource_uri": "/api/v1/movie/516ed7cf56ba7d01eb09f524/"}Does anybody know how could I get the file from GridFS via http request?
Thanks!