curl-and-python

Re: pycurl and rest PUT interface

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 22 Jan 2013 22:57:36 +0100 (CET)

On Tue, 22 Jan 2013, Mark Seger wrote:

> ultimately I want to point to a string and say PUT but I'm happy to start
> with something simpler.

Here's a pycurl example doing HTTP PUT:

http://pycurl.cvs.sourceforge.net/viewvc/pycurl/pycurl/examples/file_upload.py?view=markup

A C example doing HTTP PUT looks like this:

         http://curl.haxx.se/libcurl/c/httpput.html

-- 
  / daniel.haxx.se
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2013-01-22