Documentation: Fix formatting in "Advanced Filters" chapter

fixes #10852
This commit is contained in:
Michael Friedrich 2015-12-15 14:03:01 +01:00
parent 0464071ddb
commit aeb4bfa551
1 changed files with 2 additions and 4 deletions

View File

@ -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.