Configure CLI backend
curl --request POST \
--url https://www.dench.com/api/v1/local/backendconst options = {method: 'POST'};
fetch('https://www.dench.com/api/v1/local/backend', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.dench.com/api/v1/local/backend"
response = requests.post(url)
print(response.text){
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "Backend selection is local CLI state.",
"type": "invalid_request_error",
"code": "local_only"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}local
Configure CLI backend
Configure the CLI backend target.
POST
/
local
/
backend
Configure CLI backend
curl --request POST \
--url https://www.dench.com/api/v1/local/backendconst options = {method: 'POST'};
fetch('https://www.dench.com/api/v1/local/backend', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.dench.com/api/v1/local/backend"
response = requests.post(url)
print(response.text){
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "Backend selection is local CLI state.",
"type": "invalid_request_error",
"code": "local_only"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}Response
Invalid request
Show child attributes
Show child attributes
⌘I