Take a screenshot with compression options
import requests
url = "https://api.13-215-85-171.sslip.io/v1/machines/{id}/desktop/screenshot/compressed"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)curl --request POST \
--url https://api.13-215-85-171.sslip.io/v1/machines/{id}/desktop/screenshot/compressed \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'"<string>"Desktop
Take a screenshot with compression options
POST
/
v1
/
machines
/
{id}
/
desktop
/
screenshot
/
compressed
Take a screenshot with compression options
import requests
url = "https://api.13-215-85-171.sslip.io/v1/machines/{id}/desktop/screenshot/compressed"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)curl --request POST \
--url https://api.13-215-85-171.sslip.io/v1/machines/{id}/desktop/screenshot/compressed \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'"<string>"Authorizations
API key passed as Bearer token
Path Parameters
Machine ID (e.g. mch_a1b2c3d4)
Body
application/json
Response
Image data in requested format
The response is of type file.