From 2b907e25e1b4b48e37de72c4ec76b2d45c69100b Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Thu, 2 Mar 2017 15:56:20 +0100 Subject: [PATCH] + Fix #607 --- centreon-plugins/apps/protocols/http/mode/jsoncontent.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/apps/protocols/http/mode/jsoncontent.pm b/centreon-plugins/apps/protocols/http/mode/jsoncontent.pm index 9e9122b8c..196ef980f 100644 --- a/centreon-plugins/apps/protocols/http/mode/jsoncontent.pm +++ b/centreon-plugins/apps/protocols/http/mode/jsoncontent.pm @@ -273,7 +273,7 @@ __END__ Check JSON webservice. Can send the json request with option '--data'. Example: centreon_plugins.pl --plugin=apps::protocols::http::plugin --mode=json-content --data='/home/user/request.json' --hostname='myws.site.com' --urlpath='/get/payment' ---lookup='$..expiration' +--lookup='$..expiration' --header='Content-Type: application/json' JSON OPTIONS: