From f967e38c81444fbea9dadd2ffc1a4be99fc209a6 Mon Sep 17 00:00:00 2001 From: Reginald Cherenfant Jasmin Date: Thu, 7 Dec 2023 02:48:07 -0500 Subject: [PATCH] Changing POST to PUT --- .../Controllers/QuestionsController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DamageAssesmentApi/DamageAssesment.Api.Questions/Controllers/QuestionsController.cs b/DamageAssesmentApi/DamageAssesment.Api.Questions/Controllers/QuestionsController.cs index ae17006..dbd4170 100644 --- a/DamageAssesmentApi/DamageAssesment.Api.Questions/Controllers/QuestionsController.cs +++ b/DamageAssesmentApi/DamageAssesment.Api.Questions/Controllers/QuestionsController.cs @@ -113,7 +113,7 @@ namespace DamageAssesment.Api.Questions.Controllers /// /// POST request for creating a multiple question (multilingual). /// - [HttpPost("questions/multiple/{surveyid}")] + [HttpPut("questions/multiple/{surveyid}")] public async Task UpdateQuestions(int surveyid, List questions) { if (questions != null)