# HG changeset patch # User Sebastien Jodogne # Date 1500560032 -7200 # Node ID f58b6bdbd63b677ada4549c1e8145cc714911123 # Parent 25a15aae0d74c1a7b9efe7188622ce53745ead36 note diff -r 25a15aae0d74 -r f58b6bdbd63b OrthancServer/OrthancRestApi/OrthancRestAnonymizeModify.cpp --- a/OrthancServer/OrthancRestApi/OrthancRestAnonymizeModify.cpp Wed Jul 19 14:26:20 2017 +0200 +++ b/OrthancServer/OrthancRestApi/OrthancRestAnonymizeModify.cpp Thu Jul 20 16:13:52 2017 +0200 @@ -223,7 +223,7 @@ static bool ParseAnonymizationRequest(DicomModification& target, RestApiPostCall& call) { - // curl http://localhost:8042/instances/6e67da51-d119d6ae-c5667437-87b9a8a5-0f07c49f/anonymize -X POST -d '{"Replace":{"PatientName":"hello","0010-0020":"world"},"Keep":["StudyDescription", "SeriesDescription"],"KeepPrivateTags": null,"Remove":["Modality"]}' > Anonymized.dcm + // curl http://localhost:8042/instances/6e67da51-d119d6ae-c5667437-87b9a8a5-0f07c49f/anonymize -X POST -d '{"Replace":{"PatientName":"hello","0010-0020":"world"},"Keep":["StudyDescription", "SeriesDescription"],"KeepPrivateTags": true,"Remove":["Modality"]}' > Anonymized.dcm Json::Value request; if (!call.ParseJsonRequest(request) ||