cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Can't use POST forms with an HTTP PUT

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 21 Nov 2012 08:24:05 +0100 (CET)

On Tue, 20 Nov 2012, Paul Bergen wrote:

> Does anybody know how to do this or where to find a sample? Or is
> there some way to just override the verb?

CURLOPT_CUSTOMREQUEST does _exactly_ that. It replaces the method name only
and changes nothing else.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-11-21