From 6401fc07d29dacf2667d76b4649eb65c24ecb74f Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Thu, 2 Mar 2017 15:56:20 +0100 Subject: [PATCH] + Fix #607 --- apps/protocols/http/mode/jsoncontent.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/protocols/http/mode/jsoncontent.pm b/apps/protocols/http/mode/jsoncontent.pm index 9e9122b8c..196ef980f 100644 --- a/apps/protocols/http/mode/jsoncontent.pm +++ b/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: