cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Redirect from POST to GET

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 1 Mar 2015 23:18:15 +0100 (CET)

On Fri, 27 Feb 2015, Alexander Henket wrote:

> When I receive an HTTP 302 or 303 after a POST, curl detects that and
> actually says it's going from POST to GET, but subsequently does a POST
> anyway. This post (http://curl.haxx.se/mail/archive-2001-01/0115.html) from
> 2001 says curl should be good, but isn't currently, or so it seems.

Using -X then I presume?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2015-03-01