cURL
Sandboxes
Stage File
Issue a presigned upload token so the browser can upload a file directly to Vercel Blob, then call POST /api/sandboxes/files with the resulting blob URL to commit it to the sandbox repo. Use upload() from @vercel/blob/client rather than calling this route by hand. Max file size 100MB.
POST
cURL
Body
application/json
HandleUploadBody envelope from @vercel/blob/client.
The body is of type object.
Response
Handshake response from @vercel/blob/client — return verbatim to the library.
The response is of type object.
