Overview
Browse API
Usage Examples
List Projects
Deploy Project
TODO
Upload Payload
import requests
api_url = "https://canary.example.com"
api_key = "MVxYPdl9pLTQbDp1W08qhF.."
page = 'example.com'
with open(path, 'rb') as file:
response = requests.post(api_url + "/upload/{page}", {"Authorization": f"Bearer {api_key}", data=file}
if response.status_code == 200:
print(response.json())
Webhooks
fetch deploy token
deploy project
upload page payload
Was this page helpful?