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 2020-04-24 15:52:15

fbitschy
Member
Registered: 2020-02-05
Posts: 8

[solved]initsession impossible

hello

i try to get my session with  curl -X GET -H 'Content-Type: application/json' -H "Authorization: user_token 7Yg54OXYSS15HE0eWPrifsdfmmMm7ulUHXEXl8WRr7c" -H "App-Token: QpCr0VI60byo55t1Cga4iNsdfsdfFNK5A2lIgCpX9T3"  'https://url /glpi/apirest.php/initSession'
and i got :

["ERROR_LOGIN_PARAMETERS_MISSING","le(s) paramètre(s) login, password ou user_token sont manquants; Afficher la documentation dans votre navigateur à

but all the token are good, i did create a app token , and my user have personnal token and api token generated .
so i 'm bit lost

my glpi version is  : glpi-0.90

thanks so much for the help

Offline

#2 2020-04-26 12:58:47

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

Re: [solved]initsession impossible

Check if it works passing parameters in url instead of headers


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 2020-04-29 20:32:58

fbitschy
Member
Registered: 2020-02-05
Posts: 8

Re: [solved]initsession impossible

thanks, it solved the pb

Offline

Board footer

Powered by FluxBB