how can I test the connection between Orthanc and my other servers using REST ?

how can I test the connection between Orthanc and my other servers using REST ?

thank you

Hello,

You are looking for the following URI in the REST API:
/modalities/{dicom}/echo

For instance, to send a DICOM C-Echo to the modality called “sample” at the command-line, you would write:

curl -X POST http://localhost:8042/modalities/sample/echo -d “{}”

If the resulting HTTP status is “200 OK”, the connection is working. Any other status corresponds to a failure with the C-Echo SCU.

HTH,
Sébastien-