cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: add extra PUT data

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 20 Jun 2008 12:30:31 +0200 (CEST)

On Thu, 19 Jun 2008, Stephen Pynenburg wrote:

> As far as I can see, using PUT with cURL requires you to be using an actual
> file. I don't think getting an option added to curl_setopt() is terribly
> likely, at least not anytime soon - I'd imagine you'd have to ask the cURL
> creators and the PHP guys.

You could easily just do a POST and change the method keyword to PUT and
voila...

-- 
  / daniel.haxx.se
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2008-06-20