API → Executor → Execute a Zoo program in a specific languagehidden
hidden
Parameters
Name
Type
Req.
Possible values
go
: The `go` programming language.python
: The `python` programming language.node
: The `node` programming language.
Returns
- 201 Created
successful creation
Name
Type
Req.
post
/file/execute/{lang}$ curl -X POST "https://api.zoo.dev/file/execute/{lang}" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/octet-stream" \
--data-binary "@path/to/file"
201 Created
Response{
"output_files": [
{
"contents": "YTLNuwaG1fASYQ7UCek4koI",
"name": "ICHSA"
}
],
"stderr": "jKN4YT0IGh",
"stdout": "oRvoErQSzdr50vXqBb6t0prD0"
}