Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-8459

Zabbix API doesn't support OPTION request when API client does CORS

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 2.3.3
    • 2.2.4
    • API (A)
    • firefox 30+

      When accessing the api throug javascript form another domain the client does an HTTP OPTION request to determine the CORS rules on the server the API is running on.
      SInce this request has the wrong content type a 412 error code is returned by the API.

      Please allow OPTION requests with all content types so the zabbix API can be access through javascript hosted on another domain than the API.

            Unassigned Unassigned
            evsnow Erwin Vrolijk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: