DICOMWeb - STOW-RS in ORTHANC

Hi everyone,

I read that Orthanc is compliant with DICOMweb standard. I need to apply the STOW-RS standard.

I want to store on my local instance of Orthanc a DICOM file (study.dcm).

I tried a POST request through Postman:

URL: http://localhost:8042/dicom-web/studies

and as form-data param the file study.dcm

But I got 405Method Not Allowed

Is STOW-RS a feature that Orthanc offers? How? Can you give me some examples of the use of STOW-RS?

At the moment, I can save the .dcm file only with Orthanc Rest API (http://localhost:8042/instances).

Thanks a lot.

Vincenzo

Hello,

STOW-RS is supported by the DICOMweb plugin. You can find samples at the following location in Python and JavaScript:
https://hg.orthanc-server.com/orthanc-dicomweb/file/tip/Resources/Samples

https://hg.orthanc-server.com/orthanc-tests/file/tip/Plugins/DicomWeb/DicomWeb.py

Note that the STOW-RS specification requires you to provide a multipart stream in the body of a POST request, which is very different to using the “/instances” route of the REST API of Orthanc, and which is most probably not what you are doing with Postman:
http://dicom.nema.org/medical/dicom/current/output/chtml/part18/sect_10.5.html

As always, check out the content of the Orthanc logs in “–verbose” mode:
https://book.orthanc-server.com/users/support.html

Sébastien-