From 5426431b77dde366a522b7a46e3a69c1aa404cdc Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Tue, 15 Dec 2015 14:03:01 +0100 Subject: [PATCH] Documentation: Fix formatting in "Advanced Filters" chapter fixes #10852 --- doc/9-icinga2-api.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/9-icinga2-api.md b/doc/9-icinga2-api.md index 7e6cda433..bc66c1b11 100644 --- a/doc/9-icinga2-api.md +++ b/doc/9-icinga2-api.md @@ -332,10 +332,8 @@ to worry about escaping values: $ curl -k -s -u 'root:icinga' -H 'X-HTTP-Method-Override: GET' -X POST 'https://localhost:5665/v1/objects/hosts' \ -d '{ "filter": "host.vars.os == os", "filter_vars": { "os": "Linux" } }' -> **Note** -> -> We're using X-HTTP-Method-Override here because the HTTP specification does -> not allow message bodies for GET requests. +We're using X-HTTP-Method-Override here because the HTTP specification does +not allow message bodies for GET requests. The `filters_vars` attribute can only be used inside the request body, but not as a URL parameter because there is no way to specify a dictionary in a URL. -- 2.40.0