X-Received: by 10.67.23.138 with SMTP id ia10mr31028449pad.18.1437387184516; Mon, 20 Jul 2015 03:13:04 -0700 (PDT) X-Received: by 10.140.105.102 with SMTP id b93mr443568qgf.26.1437387184470; Mon, 20 Jul 2015 03:13:04 -0700 (PDT) Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!pg9no2351275igb.0!news-out.google.com!4ni81615qgh.1!nntp.google.com!69no790619qgl.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.python Date: Mon, 20 Jul 2015 03:13:04 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=182.73.62.106; posting-account=pr4T-AoAAADQO9VNLYzE2Es10fZteroQ NNTP-Posting-Host: 182.73.62.106 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: File Upload in Restful Flask From: subhabrata.banerji@gmail.com Injection-Date: Mon, 20 Jul 2015 10:13:04 +0000 Content-Type: text/plain; charset=ISO-8859-1 Lines: 16 Xref: csiph.com comp.lang.python:94225 Dear Group, I am trying to learn Rest framework through Restful Flask. My initial exercises went fine with https://flask-restful.readthedocs.org/en/0.3.3/quickstart.html Now I want to upload file through Restful Flask. I tried to check the web for reference. I got these urls, (i) http://docs.python-requests.org/en/latest/user/quickstart/#post-a-multipart-encoded-file (ii) http://stackoverflow.com/questions/28982974/flask-restful-upload-image (iii) http://blog.luisrei.com/articles/flaskrest.html But the question I am stuck with what are the things I have to change in the example of quickstart tutorial so that I may be able to upload file. Or if any one may kindly suggest with a small example. If any one of the esteemed members may kindly suggest. Regards, Subhabrata Banerjee.