Skip to main content

Execute a cli command

POST 

https://localhost:8900/cli/execute

The body defines the command to execute. The command is executed and the result is returned to the client. Request and execution are synchronized: the request is done, when the command is done.

Request

Query Parameters

    env object

    All search parameter form the environment passed to the CLI interpreter.

Body

The command will be sent as request body. A command can contain multiple command line separated by semicolon. Every single line can contain multiple commands that are combined via the pipe operator.

    string

Responses

The result of the command.

Schema

  • Array [

  • property name* any
  • ]

curl -L -X POST 'https://localhost:8900/cli/execute' \
-H 'Content-Type: text/plain' \
-H 'Accept: application/json' \
-d ''
Request Collapse all
Base URL
https://localhost:8900
Parameters
— query
Body