-
Change Request
-
Resolution: Fixed
-
Minor
-
None
-
None
-
None
It would be great if authentication would resemble the nowadays more standard usage of "Authentication": "Bearer xxxx" http header instead of the json:auth in payload itself.
Some tools need extra workarounds or it needs some extra steps to work with zabbix api.
For example - I'm one of the contributors to ansible community.zabbix - we can't use the default, ootb, ansible modules (which uses headers) but need to implement a modified version to set the json:auth field.
Couldn't it be implemented in a way where if the auth field isn't set it then looks for the Authentication Header and only then fails if not found?
- part of
-
ZBXNEXT-8051 Ability to work with Zabbix API from JavaScript
- Closed