{"service":"iimmpact-html-share","description":"Upload HTML and get a permanent public short link.","endpoints":{"POST /api/upload":"Upload content, returns { id, url, downloadUrl }. Pass ?id= (or an `id` field) to create or overwrite a specific link. Requires Cloudflare Access.","PUT /upload/:token":"Upload the request body with a short-lived signed token from the IIMMPACT MCP gateway's html-share tools. No Cloudflare Access.","GET /:id":"Serve the uploaded content.","GET /:id/download":"Download the original uploaded file as an attachment.","GET /library":"Browse every uploaded HTML page by title. Requires Cloudflare Access."},"examples":{"rawHtml":"curl -X POST 'https://share.iimmpact.com/api/upload' -H 'Content-Type: text/html' --data-binary @page.html","formFile":"curl -X POST 'https://share.iimmpact.com/api/upload' -F 'file=@page.html'","json":"curl -X POST 'https://share.iimmpact.com/api/upload' -H 'Content-Type: application/json' -d '{\"html\":\"<h1>hi</h1>\"}'","update":"curl -X POST 'https://share.iimmpact.com/api/upload?id=aB3xK9' -H 'Content-Type: text/html' --data-binary @page.html","download":"curl -OJ 'https://share.iimmpact.com/aB3xK9/download'"}}