Hi,
I am having trouble logging in with the Zabbix (JSON-rpc) API. I am not using the python or ruby clients, since I will build my own (JAVA) client.
This is what I am trying to do.
curl -i -X POST -H 'Content-Type: application/json' -d '{"params": {"password": "pass", "user": "user"}, "jsonrpc": "2.0", "method": "user.authenticate"}' http://<ip>/api_jsonrpc.php
And I get the return
HTTP/1.1 200 OK
Date: Mon, 18 Oct 2010 15:07:56 GMT
Server: Apache/2.2.3 (CentOS)
X-Powered-By: PHP/5.1.6
Content-Length: 2
Connection: close
Content-Type: text/html; charset=UTF-8
[]
Can anyone help me with the correct params?
I am having trouble logging in with the Zabbix (JSON-rpc) API. I am not using the python or ruby clients, since I will build my own (JAVA) client.
This is what I am trying to do.
curl -i -X POST -H 'Content-Type: application/json' -d '{"params": {"password": "pass", "user": "user"}, "jsonrpc": "2.0", "method": "user.authenticate"}' http://<ip>/api_jsonrpc.php
And I get the return
HTTP/1.1 200 OK
Date: Mon, 18 Oct 2010 15:07:56 GMT
Server: Apache/2.2.3 (CentOS)
X-Powered-By: PHP/5.1.6
Content-Length: 2
Connection: close
Content-Type: text/html; charset=UTF-8
[]
Can anyone help me with the correct params?

Comment