You are not logged in.
Pages: 1
I’m currently having an Issue with the REST API. The GLPI REST API is not stateless and is therefore not compatible with REST API Clients.
https://en.wikipedia.org/wiki/Represent … telessness
I would like to use the REST API with PocketQuery.
https://marketplace.atlassian.com/plugi … r/overview
Sadly this is not possible as I would have to retrieve a Session-Token to request Data from the API.
https://github.com/glpi-project/glpi/bl … it-session
Has there anyone a solution for this Issue to make the REST API stateless? I had multiple ideas how to achieve this. For example I thought about a wrapper for the API. Maybe someone already found a solution to this issue or is this on the GLPI Roadmap to fix this issue?
Help is appreciated.
Offline
I have no solution to this problem yet. Still I would like to share my workaround.
I switched to using mysql. For this I added the mysql driver to my confluence and make a direct jdbc connection to the DB and run SQL Querys.
I still have a interest in the API fixed / stateless. If you found a better solution please share it.
Offline
Pages: 1