Mercurial > hg > orthanc-book
comparison Sphinx/source/users/rest.rst @ 376:6d7a36447e21
Small rephrasing
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Mon, 06 Apr 2020 20:06:14 +0200 |
parents | d217af5e6cb3 |
children | c9fe3d0d0fa1 |
comparison
equal
deleted
inserted
replaced
375:766fe39fdf35 | 376:6d7a36447e21 |
---|---|
67 .. highlight:: perl | 67 .. highlight:: perl |
68 | 68 |
69 If you are using Powershell (>= 3.0), you can use the following to send a single | 69 If you are using Powershell (>= 3.0), you can use the following to send a single |
70 Dicom instance to Orthanc:: | 70 Dicom instance to Orthanc:: |
71 | 71 |
72 # disabling progress bar tremendously increases the Invoke-RestMethod call | 72 # disabling the progress bar makes the Invoke-RestMethod call MUCH faster |
73 $ProgressPreference = 'SilentlyContinue' | 73 $ProgressPreference = 'SilentlyContinue' |
74 | 74 |
75 # upload it to Orthanc | 75 # upload it to Orthanc |
76 $reply = Invoke-RestMethod http://localhost:8042/instances -Method POST -InFile CT.X.1.2.276.0.7230010.dcm | 76 $reply = Invoke-RestMethod http://localhost:8042/instances -Method POST -InFile CT.X.1.2.276.0.7230010.dcm |
77 | 77 |