Frequently Asked Questions
How do I upload a file?
To upload a file, send a POST request to the /api/upload endpoint. Example:
curl -X POST https://sharey.org/api/upload \
-F "files[]=@/path/to/your/file.txt"
How do I create a paste?
To create a paste, send a POST request to the /api/paste endpoint. Example:
curl -X POST https://sharey.org/api/paste \
-H "Content-Type: application/json" \
-d '{"content": "This is the content of my paste."}'
🆕 Can I upload from clipboard?
Yes! You can paste content directly from your clipboard:
- Desktop: Press Ctrl+V (or Cmd+V on Mac) in File Sharing mode
- Mobile: Long-press the gray upload area above and select "Paste" from the menu
- Images: Screenshots, copied images, photos - all work!
- Text: Copied text will prompt you to switch to Paste mode
Perfect for quickly sharing screenshots, images from other websites, or text content!
📱 Mobile Step-by-Step:
- Copy an image or take a screenshot
- Come to this page in File Sharing mode
- Long-press the gray drop area above
- Select "Paste" from the context menu that appears
- Your content will upload automatically!