Some web services (REST APIs or even the Zabbix API) do authentication as follows:
- Request with credentials returning a session ID as:
- Custom HTTP response header
- JSON response
- Send the session ID with each subsequent request.
Currentlly Zabbix web monitoring and HTTP agent don't support this. But so all such scenarios can only be realized with custom scripts doing all the stuff.
So it would be very helpful if the response data could be used in subsequent requests. For example the headers could be provided as a macro like
Cookies could be automatically used (should be configurable). JSON response data could also be provided as a macro supporting JSON Path data extraction.