From: Michael Friedrich Date: Tue, 15 Dec 2015 13:03:01 +0000 (+0100) Subject: Documentation: Fix formatting in "Advanced Filters" chapter X-Git-Tag: v2.4.2~147 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aeb4bfa5518cf9de2f5b367acfb6f976ffadb29e;p=icinga2 Documentation: Fix formatting in "Advanced Filters" chapter fixes #10852 --- 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.