post #
Allows you to execute methods from the Debugger using the Chrome Devtool Protocol (opens new window) or method from the DebugModules.
To use the methods from the Chrome Devtool Protocol (opens new window) you must enable it in the KuzzleRC at security.debug.native_debug_protocol
.
Otherwise you will only be able to use the methods from the DebugModules.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/debug/_post
Method: POST
Body:
{
"method": "<method name>",
"params": {
// ...
}
}
Other protocols #
{
"controller": "debug",
"action": "post",
"body": {
"method": "<method name>",
"params": {
// ...
}
}
}
Arguments #
method
: method name
Optional: #
params
: method parameters
Response #
{
"status": 200,
"error": null,
"controller": "debug",
"action": "post",
"requestId": "<unique request identifier>",
"result": {
// ...
}
}