diff Core/RestApi/RestApi.cpp @ 1368:b22ba8c5edbe query-retrieve

query retrieve
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 26 May 2015 17:54:34 +0200
parents feaf2840917c
children f3672356c121
line wrap: on
line diff
--- a/Core/RestApi/RestApi.cpp	Fri May 22 17:40:10 2015 +0200
+++ b/Core/RestApi/RestApi.cpp	Tue May 26 17:54:34 2015 +0200
@@ -163,7 +163,7 @@
                        const GetArguments& getArguments,
                        const std::string& postData)
   {
-    RestApiOutput wrappedOutput(output);
+    RestApiOutput wrappedOutput(output, method);
 
 #if ORTHANC_PUGIXML_ENABLED == 1
     // Look if the user wishes XML answers instead of JSON