comparison OrthancFramework/Sources/RestApi/RestApiPutCall.h @ 4473:68f52897c119

new URIs: /tools/accepted-transfer-syntaxes and /tools/unknown-sop-class-accepted to replace Lua callbacks for transfer syntaxes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 26 Jan 2021 14:48:10 +0100
parents d9473bd5ed43
children 7053502fbf97
comparison
equal deleted inserted replaced
4472:28a4baadde17 4473:68f52897c119
69 } 69 }
70 70
71 virtual bool ParseJsonRequest(Json::Value& result) const ORTHANC_OVERRIDE 71 virtual bool ParseJsonRequest(Json::Value& result) const ORTHANC_OVERRIDE
72 { 72 {
73 return Toolbox::ReadJson(result, bodyData_, bodySize_); 73 return Toolbox::ReadJson(result, bodyData_, bodySize_);
74 } 74 }
75
76 bool ParseBooleanBody() const
77 {
78 std::string s;
79 BodyToString(s);
80 return RestApiCall::ParseBoolean(s);
81 }
75 }; 82 };
76 } 83 }