mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-05 06:42:18 -04:00
http: make POST to WriteOperation
This commit is contained in:
parent
527deb3992
commit
33afc05aaa
1 changed files with 2 additions and 0 deletions
|
|
@ -29,6 +29,8 @@ func handleLogical(core *vault.Core) http.Handler {
|
|||
op = logical.DeleteOperation
|
||||
case "GET":
|
||||
op = logical.ReadOperation
|
||||
case "POST":
|
||||
fallthrough
|
||||
case "PUT":
|
||||
op = logical.WriteOperation
|
||||
default:
|
||||
|
|
|
|||
Loading…
Reference in a new issue