Mercurial > hg > orthanc
comparison OrthancServer/OrthancRestApi/OrthancRestApi.cpp @ 2640:c691fcf66071 jobs
ResourceModificationJob
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 28 May 2018 16:30:17 +0200 |
parents | 878b59270859 |
children | a21b244efb37 |
comparison
equal
deleted
inserted
replaced
2639:75a404e40323 | 2640:c691fcf66071 |
---|---|
91 | 91 |
92 // TODO Remove unneccessary memcpy | 92 // TODO Remove unneccessary memcpy |
93 std::string postData(call.GetBodyData(), call.GetBodySize()); | 93 std::string postData(call.GetBodyData(), call.GetBodySize()); |
94 | 94 |
95 DicomInstanceToStore toStore; | 95 DicomInstanceToStore toStore; |
96 toStore.SetRestOrigin(call); | 96 toStore.GetOrigin().SetRestOrigin(call); |
97 toStore.SetBuffer(postData); | 97 toStore.SetBuffer(postData); |
98 | 98 |
99 std::string publicId; | 99 std::string publicId; |
100 StoreStatus status = context.Store(publicId, toStore); | 100 StoreStatus status = context.Store(publicId, toStore); |
101 | 101 |