changeset 226:eaae8d630277

proofreading of pdf
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 06 Mar 2019 10:44:38 +0100
parents ced9dbf86de8
children 08c47b8abeea
files Sphinx/source/users/advanced-rest.rst
diffstat 1 files changed, 10 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Sphinx/source/users/advanced-rest.rst	Wed Mar 06 08:13:01 2019 +0100
+++ b/Sphinx/source/users/advanced-rest.rst	Wed Mar 06 10:44:38 2019 +0100
@@ -68,9 +68,11 @@
 PDF
 ---
 
-Among many different types of data, DICOM files can be used to store PDF files. The ``create-dicom`` API route can be used to upload a PDF file to Orthanc.
-
-The following scripts perform such a *dicomization* ; they convert the ``HelloWorld2.pdf`` file to base64, then perform a ``POST`` request with JSON data containing the converted payload.
+Among many different types of data, DICOM files can be used to store
+PDF files. The ``/tools/create-dicom`` URI can be used to upload a PDF
+file to Orthanc. The following scripts perform such a *DICOM-ization*;
+They convert the ``HelloWorld2.pdf`` file to base64, then perform a
+``POST`` request with JSON data containing the converted payload.
 
 Using bash::
 
@@ -94,4 +96,8 @@
     # display the result
     Write-Host "The instance can be retrieved in PDF at http://localhost:8042$($reply.Path)/pdf"
 
-Please note that the `create-dicom` API call will return the Orthanc instance ID of the newly created DICOM resource. You can then use the ``http://localhost:8042/<INSTANCE-ID>/pdf`` route to request the stored file as PDF.
+Please note that the ``/tools/create-dicom`` API call will return the
+Orthanc instance ID of the newly created DICOM resource.
+
+You can use the ``/instances/.../pdf`` URI to retrieve an embedded PDF
+file.