Upload from mobile device using POST

2011-05-01 Thread Matias Hernandez Arellano
(sorry for my english) (i open this thread cuase the other thread was for another question) I have a mobile device application (iOS) and i want to upload an image to my django application In my mobile application i create the POST request (and disable csrf in my django app) using this: - (void

Re: Upload image using GET

2011-05-01 Thread Matias Hernandez Arellano
yes, thanks.. i try using POST but i get a error 500 i only use this to test def upload_image(request): if request.method == 'POST': return "request.FILES['image']" return "NO imagen subida" El 01-05-2011, a las 23:11, А. Р. escribi

Re: Upload image using GET

2011-05-01 Thread Matias Hernandez Arellano
Thrift: http://incubator.apache.org/thrift/ And if it's not possible use GET to pass the image data to the django application.. how can i pass de data from a mobile application (without user actions like a web form) to the django application, and upload, or copy de data into a new image?? Than