From de4441cac785fb6a2b09b4993a56cc74958d97a6 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 16 Jul 2018 17:29:38 -0400 Subject: [PATCH] add back post verbs for backwards compat --- src/Api/Controllers/GroupsController.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Api/Controllers/GroupsController.cs b/src/Api/Controllers/GroupsController.cs index 84978235c0..f1ee094479 100644 --- a/src/Api/Controllers/GroupsController.cs +++ b/src/Api/Controllers/GroupsController.cs @@ -97,6 +97,7 @@ namespace Bit.Api.Controllers } [HttpPut("{id}")] + [HttpPost("{id}")] public async Task Put(string orgId, string id, [FromBody]GroupRequestModel model) { var group = await _groupRepository.GetByIdAsync(new Guid(id)); @@ -110,6 +111,7 @@ namespace Bit.Api.Controllers } [HttpDelete("{id}")] + [HttpPost("{id}/delete")] public async Task Delete(string orgId, string id) { var group = await _groupRepository.GetByIdAsync(new Guid(id)); @@ -122,6 +124,7 @@ namespace Bit.Api.Controllers } [HttpDelete("{id}/user/{orgUserId}")] + [HttpPost("{id}/delete-user/{orgUserId}")] public async Task Delete(string orgId, string id, string orgUserId) { var group = await _groupRepository.GetByIdAsync(new Guid(id));