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 2022-01-11 15:19:49

econdepires
Member
Registered: 2022-01-11
Posts: 4

File request returns a 0B content

Hello, you all.

I send a request to the api to download a file, but as response I get a 200 OK without any content.

URL: http://***/apirest.php/document/4311?alt=media

The document actually exists and I can access it through the site.

Can anyone help me?

Thanks in advance!

Offline

#2 2022-01-11 16:26:10

econdepires
Member
Registered: 2022-01-11
Posts: 4

Re: File request returns a 0B content

When I upload a file through the website, the request works too.

It just doesn't work when I uploaded the file through the api.

Offline

Board footer

Powered by FluxBB