• Path prefix: All transfers must use /p/ (e.g., /p/mypath)
• One-time only: Each message can be received only once
curl -T myfile.txt https://example.com/p/mypath
echo "Hello!" | curl -T - https://example.com/p/mypath
cat file.txt | gzip | curl -T - https://example.com/p/mypath
curl https://example.com/p/mypath > received.txt
curl https://example.com/p/mypath
curl https://example.com/p/mypath | gunzip > file.txt
curl -H "X-Timeout: 30" -T myfile.txt https://example.com/p/mypath
Sender disconnects if no receiver connects within timeout.
curl -H "X-Cancel-Key: mysecret" -T myfile.txt https://example.com/p/mypath
Then cancel with:
curl -X DELETE -H "X-Cancel-Key: mysecret" https://example.com/p/mypath
curl -I https://example.com/p/mypath
Returns 200 if channel exists, 404 otherwise. Does not consume the channel.