mirror of https://github.com/Icinga/icinga2.git
parent
4c6123028d
commit
503826acf5
|
@ -6,10 +6,10 @@ parameter to enable the script debugger:
|
|||
# icinga2 daemon -X
|
||||
|
||||
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.
|
||||
|
||||
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)
|
||||
* Errors in user-defined functions
|
||||
|
|
|
@ -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
|
||||
|
||||
`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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue