I am using the batch API to post batch requests to a zabbix 1.64 server.

Sending JSON requests of the nature:

{"request":"agent data","data":[{"host":"rsalota-macbook-pro.local","key":"jmx[java.lang:type=Runtime][Uptime]","value":"1"},{"host":"rsalota-macbook-pro.local","key":"jmx[java.lang:name=PS...