Zabbix API and HTTP Content-Type

XMLWordPrintable

    • Type: Change Request
    • Resolution: Fixed
    • Priority: Trivial
    • None
    • Affects Version/s: 2.0.4
    • Component/s: 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?

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

              Created:
              Updated:
              Resolved: