Mercurial > hg > orthanc
comparison OrthancServer/OrthancRestApi/OrthancRestResources.cpp @ 2140:aa4b8895cd23
reorganization
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 09 Nov 2016 16:12:47 +0100 |
parents | dd609a99d39a |
children | e3fd5bc429a2 |
comparison
equal
deleted
inserted
replaced
2139:764c9157301b | 2140:aa4b8895cd23 |
---|---|
190 std::string dicom; | 190 std::string dicom; |
191 context.ReadDicom(dicom, publicId); | 191 context.ReadDicom(dicom, publicId); |
192 | 192 |
193 std::string target; | 193 std::string target; |
194 call.BodyToString(target); | 194 call.BodyToString(target); |
195 Toolbox::WriteFile(dicom, target); | 195 SystemToolbox::WriteFile(dicom, target); |
196 | 196 |
197 call.GetOutput().AnswerBuffer("{}", "application/json"); | 197 call.GetOutput().AnswerBuffer("{}", "application/json"); |
198 } | 198 } |
199 | 199 |
200 | 200 |