diff Resources/Samples/Lua/ModifyInstanceWithSequence.lua @ 2249:38c7bf2e10f6

updated samples to set keepStrings=ture when calling DumpJson() to access the Orthanc API
author Alain Mazy <alain@mazy.be>
date Mon, 16 Jan 2017 13:55:54 +0100
parents 8ca0e89798b2
children
line wrap: on
line diff
--- a/Resources/Samples/Lua/ModifyInstanceWithSequence.lua	Mon Jan 16 13:07:11 2017 +0100
+++ b/Resources/Samples/Lua/ModifyInstanceWithSequence.lua	Mon Jan 16 13:55:54 2017 +0100
@@ -17,7 +17,7 @@
 
       -- Create the modified instance
       local modified = RestApiPost('/instances/' .. instanceId .. '/modify',
-                                   DumpJson(request))
+                                   DumpJson(request, true))
 
       -- Upload the modified instance to the Orthanc store
       RestApiPost('/instances/', modified)