Update documentation

refs #9105
This commit is contained in:
Gunnar Beutner 2015-11-10 16:45:52 +01:00
parent 4c6123028d
commit 503826acf5
2 changed files with 3 additions and 3 deletions

View File

@ -6,10 +6,10 @@ parameter to enable the script debugger:
# icinga2 daemon -X # icinga2 daemon -X
When an exception occurs or the [debugger](18-language-reference.md#breakpoints) When an exception occurs or the [debugger](18-language-reference.md#breakpoints)
keyword is encountered in a user script Icinga 2 launches a console that keyword is encountered in a user script, Icinga 2 launches a console that
allows the user to debug the script. allows the user to debug the script.
Here is a list of common error which can be diagnosed with the script debugger: Here is a list of common errors which can be diagnosed with the script debugger:
* Configuration errors (apply) * Configuration errors (apply)
* Errors in user-defined functions * Errors in user-defined functions

View File

@ -234,7 +234,7 @@ Here are the exact same query parameters as a JSON object:
### <a id="icinga2-api-requests-method-override"></a> Request Method Override ### <a id="icinga2-api-requests-method-override"></a> Request Method Override
`GET` requests do not allow to send a request body. In case you cannot pass everything as URL parameters (e.g. complex filters or JSON-encoded dictionaries) you can use the `X-HTTP-Method-Override` header. This comes in handy when you are using HTTP proxies disallowing `PUT` or `DELETE` requests too. `GET` requests do not allow you to send a request body. In case you cannot pass everything as URL parameters (e.g. complex filters or JSON-encoded dictionaries) you can use the `X-HTTP-Method-Override` header. This comes in handy when you are using HTTP proxies disallowing `PUT` or `DELETE` requests too.
Query an existing object by sending a `POST` request with `X-HTTP-Method-Override: GET` as request header: Query an existing object by sending a `POST` request with `X-HTTP-Method-Override: GET` as request header: