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 2018-09-06 15:02:46

sbirl
Member
From: Pennsylvania
Registered: 2018-08-13
Posts: 11

404 Error for API and its documentation

v9.3.0

I have recently enabled, or at least I think I have enabled, the API.  However browsing to the URL returns a 404, and clicking on the "API inline Documentation" (which is the same URL) also errors out.

glpi_API_configuration.jpg

What am I missing?

Thanks.

Last edited by sbirl (2018-09-06 15:12:43)

Offline

#2 2018-09-06 16:42:19

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,168

Re: 404 Error for API and its documentation

did you set API clients ? ( IP allowed to connect to API ?)


Trouver la panne avant de réparer...
GLPI10.0.10 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.2 reports 1.16.0 formcreator 2.13.8, datainjection 2.13.4 fields 1.21.6

Offline

#3 2018-09-06 17:00:26

sbirl
Member
From: Pennsylvania
Registered: 2018-08-13
Posts: 11

Re: 404 Error for API and its documentation

LaDenree, yes:

glpi__API_client_test_configuration.jpg

Offline

#4 2018-09-06 20:13:14

sbirl
Member
From: Pennsylvania
Registered: 2018-08-13
Posts: 11

Re: 404 Error for API and its documentation

I found the proper URL for the API document, /glpi/apirest.php
Not sure why the hyperlink points to /glpi/api/

Last edited by sbirl (2018-09-06 20:15:33)

Offline

Board footer

Powered by FluxBB