Quickstart
Publish a file in three steps.
1. Create an API token
Tokens are created in your account settings. Keep the token private and send it in the Authorization header.
2. Upload a file
curl -X POST "https://<your-host>/v1/objects?path=/v3/app.9f2c1e.js" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/javascript" \
--data-binary @app.9f2c1e.js
The response contains the public URL of the object.
3. Reference it
<script src="https://<your-host>/v3/app.9f2c1e.js"></script>