cantdown.su developer api 1. upload text paste via curl: curl -d "hello world" https://cantdown.su/paste curl --data-binary "@file.txt" https://cantdown.su/paste curl -F "text=hello world" https://cantdown.su/paste 2. upload file via curl: curl -F "file=@image.png" https://cantdown.su/upload 3. custom url / slug: curl -H "X-Custom-Url: my-slug" -d "hello world" https://cantdown.su/paste curl -H "X-Custom-Url: photo.jpg" -F "file=@photo.png" https://cantdown.su/upload 4. cli network utilities: curl https://cantdown.su/ip # public IP curl https://cantdown.su/cc # country code curl https://cantdown.su/headers # request headers (JSON) curl https://cantdown.su/tls # TLS protocol, cipher & RTT (JSON) curl https://cantdown.su/geo # geolocation, ASN & network info (JSON) curl https://cantdown.su/asn # ASN & ISP organization curl https://cantdown.su/user-agent # client User-Agent 5. response format: by default, returns plain text with the created url and edit link. pass "Accept: application/json" header to get JSON output: { "success": true, "url": "https://cantdown.su/abc12345", "edit_url": "https://cantdown.su/edit/abc12345?key=...", "edit_key": "...", "id": "abc12345" }