Get local execution command
Authorizations
Cookie-based authentication
Body
The id of the executor
123
The name of the executor
"<?php\n\n echo '{\"success\": true}';\n"
The type of the executor
"sourceCode"
"php82"
""
Response
"curl -s http://host.docker.internal:8000/api/codeExecutor/sdk/php82.php -o sdk.php && echo '{}' | ENNEO_API_URL=http://host.docker.internal:8000 ENNEO_SESSION_TOKEN=***TOKEN_EXAMPLE*** ENNEO_USER_AUTH_HEADER=Authorization: Bearer ***TOKEN_EXAMPLE*** SDK=sdk.php php -dxdebug.mode=debug -dxdebug.client_port=9003 -dxdebug.client_host=127.0.0.1 -dxdebug.start_with_request=yes mycode.php"
"Invoke-WebRequest -Uri http://host.docker.internal:8000/api/codeExecutor/sdk/php82.php -OutFile sdk.php ; $env:ENNEO_API_URL = \"http://host.docker.internal:8000\"; $env:ENNEO_SESSION_TOKEN=***TOKEN_EXAMPLE*** $env:ENNEO_USER_AUTH_HEADER = \"Authorization: Bearer ***TOKEN_EXAMPLE***\"; $env:SDK = \"sdk.php\"; ; php -dxdebug.mode=debug -dxdebug.client_port=9003 -dxdebug.client_host=127.0.0.1 -dxdebug.start_with_request=yes mycode.php"