xref: /curl/docs/cmdline-opts/post303.md (revision fe9f68fa)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: post303
5Help: Do not switch to GET after a 303 redirect
6Protocols: HTTP
7Added: 7.26.0
8Category: http post
9Multi: boolean
10See-also:
11  - post302
12  - post301
13  - location
14Example:
15  - --post303 --location -d "data" $URL
16---
17
18# `--post303`
19
20Violate RFC 7231/6.4.4 and do not convert POST requests into GET requests when
21following 303 redirect. A server may require a POST to remain a POST after a
22303 redirection. This option is meaningful only when using --location.
23