comparison 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
comparison
equal deleted inserted replaced
4398:38c22715bb56 4399:80fd140b12ba
44 const HttpToolbox::Arguments& uriComponents, 44 const HttpToolbox::Arguments& uriComponents,
45 const UriComponents& trailing, 45 const UriComponents& trailing,
46 const UriComponents& fullUri, 46 const UriComponents& fullUri,
47 const void* bodyData, 47 const void* bodyData,
48 size_t bodySize) : 48 size_t bodySize) :
49 RestApiCall(output, context, origin, remoteIp, username, 49 RestApiCall(output, context, origin, remoteIp, username, HttpMethod_Post,
50 httpHeaders, uriComponents, trailing, fullUri), 50 httpHeaders, uriComponents, trailing, fullUri),
51 bodyData_(bodyData), 51 bodyData_(bodyData),
52 bodySize_(bodySize) 52 bodySize_(bodySize)
53 { 53 {
54 } 54 }