# HG changeset patch # User Alain Mazy # Date 1751472826 -7200 # Node ID e1bc2e729c1c38d19585df56e2e98b9fe9b4ef4d # Parent c6ae4244f0759e39431223eccefb189aa160f8ee RestApiClient: forward body to core diff -r c6ae4244f075 -r e1bc2e729c1c OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp --- a/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp Mon Jun 30 21:45:06 2025 +0200 +++ b/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp Wed Jul 02 18:13:46 2025 +0200 @@ -4212,6 +4212,11 @@ { path_ += "?" + getArguments; } + + if (request->bodySize > 0 && request->body != NULL) + { + requestBody_.assign(reinterpret_cast(request->body), request->bodySize); + } } #endif