upload
POST
/v1/blobs
const url = 'https://example.com/v1/blobs';const options = { method: 'POST', headers: {'Content-Type': 'application/octet-stream'}, body: 'example'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/blobs \ --header 'Content-Type: application/octet-stream' \ --data exampleRequest Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/octet-stream
string
Responses
Section titled “Responses”Media typetext/plain
string
Upload exceeds previews.max_file_bytes