Sunday, May 1, 2011

Re: Upload image using GET

2011/5/2 msdark <...@gmail.com>:


> 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.

What is "thrift"? Do you really mean it?

>
> Now i need to upload an image to the django application using a GET
> method..

You cannot, I think, unless your image is very tiny, then you can pass
it's contents as a GET parameter.
I suggest you use POST instead.

> The idea is: www.servidor.com/upload/path_to_image_in_device.png

I cannot get the image specified.

--
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