-
Problem report
-
Resolution: Fixed
-
Trivial
-
4.0.0alpha8
-
Sprint 37
-
0.125
Configure following HTTP agent item
Expected:
POST / HTTP/1.1 Host: localhost:8080 Accept: */* DNT: 1 Content-Type: application/json Content-Length: 14 { "foo":"bar"}
Actual:
POST / HTTP/1.1 Host: localhost:8080 Accept: */* DNT: 1 Content-Length: 14 Content-Type: application/x-www-form-urlencoded { "foo":"bar"}
Zabbix shall check for Content-Type existence when setting default application/json Content-Type, instead it checks only for headers to exist.
- part of
-
ZBXNEXT-4488 RestAPI trapper interface on Zabbix server
- Closed