diff OrthancFramework/Sources/RestApi/RestApiPostCall.h @ 4399:80fd140b12ba

New command-line option: "--openapi" to write the OpenAPI documentation of the REST API to a file
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 23 Dec 2020 12:21:03 +0100
parents 3af1d763763a
children d9473bd5ed43
line wrap: on
line diff
--- a/OrthancFramework/Sources/RestApi/RestApiPostCall.h	Tue Dec 22 09:39:06 2020 +0100
+++ b/OrthancFramework/Sources/RestApi/RestApiPostCall.h	Wed Dec 23 12:21:03 2020 +0100
@@ -46,7 +46,7 @@
                     const UriComponents& fullUri,
                     const void* bodyData,
                     size_t bodySize) :
-      RestApiCall(output, context, origin, remoteIp, username, 
+      RestApiCall(output, context, origin, remoteIp, username, HttpMethod_Post,
                   httpHeaders, uriComponents, trailing, fullUri),
       bodyData_(bodyData),
       bodySize_(bodySize)