You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2019-10-01 11:54:27

Vi
Member
Registered: 2019-09-18
Posts: 1

Download document File (GLPI v9.4.3)

Please tell me how to download a file from a document using CURL.
I try like this:

curl -X get ^
-H "Content-Type: application / json" ^
-H "Session-Token:%token%" ^
-H "Accept: application / octet-stream" ^
-d "{""" input """: {""" id """: 29}}" ^
   %url% Document /

However, I get not the contents of the file but the description of the document

Offline

#2 2020-01-20 10:12:31

ben2249
Member
From: FRANCE
Registered: 2019-12-03
Posts: 35

Re: Download document File (GLPI v9.4.3)

Hello, did you find a solution ?

Offline

#3 2020-07-09 11:45:16

slegrand
Member
Registered: 2020-07-01
Posts: 5

Re: Download document File (GLPI v9.4.3)

Offline

Board footer

Powered by FluxBB