http: make POST to WriteOperation

This commit is contained in:
Mitchell Hashimoto 2015-04-07 14:00:09 -07:00
parent 527deb3992
commit 33afc05aaa

View File

@ -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: