Close a command's input
curl --request POST \
--url https://api.fibre.dev/v1/sandboxes/{id}/commands/{cid}/stdin/close \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fibre.dev/v1/sandboxes/{id}/commands/{cid}/stdin/close', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.fibre.dev/v1/sandboxes/{id}/commands/{cid}/stdin/close"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){}{
"error": "<string>",
"code": "invalid_request",
"request_id": "<string>",
"docs_url": "<string>"
}{
"error": "<string>",
"code": "invalid_request",
"request_id": "<string>",
"docs_url": "<string>"
}{
"error": "<string>",
"code": "invalid_request",
"request_id": "<string>",
"docs_url": "<string>"
}Commands
Close a command's input
Close the command’s standard input: it reads end-of-file.
POST
/
v1
/
sandboxes
/
{id}
/
commands
/
{cid}
/
stdin
/
close
Close a command's input
curl --request POST \
--url https://api.fibre.dev/v1/sandboxes/{id}/commands/{cid}/stdin/close \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fibre.dev/v1/sandboxes/{id}/commands/{cid}/stdin/close', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.fibre.dev/v1/sandboxes/{id}/commands/{cid}/stdin/close"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){}{
"error": "<string>",
"code": "invalid_request",
"request_id": "<string>",
"docs_url": "<string>"
}{
"error": "<string>",
"code": "invalid_request",
"request_id": "<string>",
"docs_url": "<string>"
}{
"error": "<string>",
"code": "invalid_request",
"request_id": "<string>",
"docs_url": "<string>"
}