changeset 43:aff9bc588b83

fix uris
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 01 Aug 2015 17:29:55 +0200
parents 3a2040a79007
children b6bf26ed42bd
files Resources/Samples/JavaScript/qido-rs.js Resources/Samples/JavaScript/stow-rs.js Resources/Samples/SendStow.py
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/Samples/JavaScript/qido-rs.js	Sat Aug 01 17:24:13 2015 +0200
+++ b/Resources/Samples/JavaScript/qido-rs.js	Sat Aug 01 17:29:55 2015 +0200
@@ -45,7 +45,7 @@
       data: data,
       cache: true,  // If set to false, the "_" GET argument is added, resulting in a bad QIDO-RS request
       dataType: 'json',
-      url: '../qido-rs/series',
+      url: '../dicom-web/series',
       success: function(answer) {
         $('#qido-series-results').empty();
         for (var i = 0; i < answer.length; i++) {
--- a/Resources/Samples/JavaScript/stow-rs.js	Sat Aug 01 17:24:13 2015 +0200
+++ b/Resources/Samples/JavaScript/stow-rs.js	Sat Aug 01 17:29:55 2015 +0200
@@ -73,7 +73,7 @@
           'Accept' : 'application/json',
           'Content-type' : 'multipart/related; type=application/dicom; boundary=' + BOUNDARY,
         },
-        url: '../stow-rs/studies',
+        url: '../dicom-web/studies',
         data: ConstructMultipart(reader.result, 'application/dicom'),
         processData: false, // Very important!
         dataType: 'json',
--- a/Resources/Samples/SendStow.py	Sat Aug 01 17:24:13 2015 +0200
+++ b/Resources/Samples/SendStow.py	Sat Aug 01 17:29:55 2015 +0200
@@ -28,7 +28,7 @@
 if len(sys.argv) < 2:
     print('Usage: %s <StowUri> <file>...' % sys.argv[0])
     print('')
-    print('Example: %s http://localhost:8042/stow-rs/studies hello.dcm world.dcm' % sys.argv[0])
+    print('Example: %s http://localhost:8042/dicom-web/studies hello.dcm world.dcm' % sys.argv[0])
     sys.exit(-1)
 
 URL = sys.argv[1]