changeset 219:e8feeebcf643

fix
author Alain Mazy <am@orthanc.team>
date Thu, 27 Feb 2025 15:27:25 +0100 (2 months ago)
parents 24199565c7e6
children 1ba6153bc891
files Plugin/AuthorizationWebService.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Plugin/AuthorizationWebService.cpp	Thu Feb 27 15:05:50 2025 +0100
+++ b/Plugin/AuthorizationWebService.cpp	Thu Feb 27 15:27:25 2025 +0100
@@ -393,7 +393,7 @@
         authClient.SetCredentials(username_, password_);
       }
       authClient.SetBody(bodyAsString);
-      authClient.SetMethod(OrthancPluginHttpMethod_Put);
+      authClient.SetMethod(OrthancPluginHttpMethod_Post);
       authClient.AddHeader("Content-Type", "application/json");
       authClient.AddHeader("Expect", "");
       authClient.SetTimeout(10);