Core
API v2.x
2

post #

Allows you to execute methods from the Debugger using the Chrome Devtool Protocol.


To use the methods from the Chrome Devtool Protocol you must enable it in the KuzzleRC at security.debug.native_debug_protocol.

Query Syntax #

HTTP #

Copied to clipboard!
URL: http://kuzzle:7512/debug/_post
Method: POST
Body:
Copied to clipboard!
{
  "method": "<method name>",
  "params": {
    // ...
  }
}

Other protocols #

Copied to clipboard!
{
  "controller": "debug",
  "action": "post",
  "body": {
    "method": "<method name>",
    "params": {
      // ...
    }
  }
}

Arguments #

  • method: method name

Optional: #

  • params: method parameters

Response #

Copied to clipboard!
{
  "status": 200,
  "error": null,
  "controller": "debug",
  "action": "post",
  "requestId": "<unique request identifier>",
  "result": {
    // ...
  }
}