{"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 upsert a specific link.","PUT /:id":"Create or overwrite the content at an existing short link in place.","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."},"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 PUT 'https://share.iimmpact.com/aB3xK9' -H 'Content-Type: text/html' --data-binary @page.html","download":"curl -OJ 'https://share.iimmpact.com/aB3xK9/download'"}}