comparison Sphinx/source/users/rest.rst @ 358:011b01ccf52d

fixing external hyperlinks
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 30 Mar 2020 18:47:35 +0200
parents 48673b8abae3
children d217af5e6cb3
comparison
equal deleted inserted replaced
357:6b432ce3a56e 358:011b01ccf52d
50 50
51 .. highlight:: bash 51 .. highlight:: bash
52 52
53 Note that in the case of curl, setting the ``Expect`` HTTP Header will 53 Note that in the case of curl, setting the ``Expect`` HTTP Header will
54 significantly `reduce the execution time of POST requests 54 significantly `reduce the execution time of POST requests
55 <http://stackoverflow.com/questions/463144/php-http-post-fails-when-curl-data-1024/463277#463277>`__:: 55 <https://stackoverflow.com/questions/463144/php-http-post-fails-when-curl-data-1024/463277#463277>`__::
56 56
57 $ curl -X POST -H "Expect:" http://localhost:8042/instances --data-binary @CT.X.1.2.276.0.7230010.dcm 57 $ curl -X POST -H "Expect:" http://localhost:8042/instances --data-binary @CT.X.1.2.276.0.7230010.dcm
58 58
59 The code distribution of Orthanc contains a `sample Python script 59 The code distribution of Orthanc contains a `sample Python script
60 <https://bitbucket.org/sjodogne/orthanc/src/default/Resources/Samples/ImportDicomFiles/ImportDicomFiles.py>`__ 60 <https://bitbucket.org/sjodogne/orthanc/src/default/Resources/Samples/ImportDicomFiles/ImportDicomFiles.py>`__
1009 * A :ref:`FAQ entry <rest-samples>` lists where you can find more 1009 * A :ref:`FAQ entry <rest-samples>` lists where you can find more
1010 advanced samples of the REST API of Orthanc. 1010 advanced samples of the REST API of Orthanc.
1011 * The full documentation of the REST API is maintained as an online 1011 * The full documentation of the REST API is maintained as an online
1012 spreadsheet accessible from the `documentation part of the official 1012 spreadsheet accessible from the `documentation part of the official
1013 Web site 1013 Web site
1014 <http://www.orthanc-server.com/static.php?page=documentation>`__ 1014 <https://www.orthanc-server.com/static.php?page=documentation>`__
1015 (click on the *Reference of the REST API* button). 1015 (click on the *Reference of the REST API* button).
1016 * A documentation of the REST API in the OpenAPI/Swagger format is 1016 * A documentation of the REST API in the OpenAPI/Swagger format is
1017 `available as work-in-progress <https://api.orthanc-server.com/>`__. 1017 `available as work-in-progress <https://api.orthanc-server.com/>`__.