mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-05 12:26:34 +02:00
http: make POST to WriteOperation
This commit is contained in:
parent
527deb3992
commit
33afc05aaa
@ -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…
x
Reference in New Issue
Block a user