Sunday, May 1, 2011

Upload image using GET

(sorry for my english)

Hi!, i have a mobile application (iOS and Android), this applciation
need to upload an image (internally) to a service .

The service is written in C++ and use thrift to create a Client with
python.. so i write a simple django application like and interface to
the C++ service.

Now i need to upload an image to the django application using a GET
method..
The idea is: www.servidor.com/upload/path_to_image_in_device.png

I don't know if this is the best method, but i need to
programmatically upload an image create in the mobile device to the
web page, so i think in use a url where i can pass the path to the
image (in the device)..

How can i accomplish that???

Thanks in advance..

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment