You are not logged in.
Pages: 1
Topic closed
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
Check if it works passing parameters in url instead of headers
Trouver la panne avant de réparer...
GLPI10.0.16 (ubuntu 22.04 PHP8.1 Mariadb10.6 ) plugins : comportements 2.7.3 reports 1.16.0 formcreator 2.13.9, datainjection 2.13.5 fields 1.21.9
Offline
thanks, it solved the pb
Offline
Pages: 1
Topic closed