curl-based file sharing
Pastebox
When you upload a file or text using curl, a 5-digit random URL is generated. The link will be automatically deleted after 30 days.
Only text-based files are allowed. Images, media files, archives, and binary files are blocked.
Text Upload
echo "hello" | curl -X POST --data-binary @- https://up.jhcloud.kr/
File Upload
curl -F "file=@test.txt" https://up.jhcloud.kr/
Password-protected Links
curl -H "usepassword: true" -F "file=@secret.txt" https://up.jhcloud.kr/
Data policy
Use data-policy: permanent to keep a paste permanently, or data-policy: once to delete it immediately after the first successful view.
# Permanent paste
curl -H "data-policy: permanent" -F "file=@server-logs.log" https://up.jhcloud.kr/
# One-time paste
curl -H "data-policy: once" -F "file=@secret.txt" https://up.jhcloud.kr/
Expiration information
Temporary uploads include an expiration date in the upload response. Permanent uploads do not include an expiration date, and one-time uploads are deleted after the first successful view.
url: https://up.jhcloud.kr/AbC12
expires: 2026-06-24T05:10:26Z
delete: https://up.jhcloud.kr/AbC12?delete=DELETE_TOKEN
Manual deletion
Each upload returns a delete URL. Open the URL or request it with curl to remove the uploaded content manually.
curl "https://up.jhcloud.kr/AbC12?delete=DELETE_TOKEN"