Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-1594

Zabbix API and HTTP Content-Type

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • None
    • 2.0.4
    • Documentation (D)

      The API docs do not clearly state that Zabbix requires that API users set the HTTP Content-Type header to application/json.

      If users do not set the content type, they get a strange HTTP error: 412 Precondition Failed.

      Would it be possible to add a note to https://www.zabbix.com/documentation/2.0/manual/appendix/api/generic that states this?

            richlv richlv
            fandingo Justin Brown
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: