-
Notifications
You must be signed in to change notification settings - Fork 3
Ways to Upload
Alexander Craggs edited this page Jun 8, 2020
·
2 revisions
ShareX allows you to quickly and easily capture screenshots of your desktop and upload them. Using Femto Host you can share images, upload videos, shorten URLs and post text snippets.
- Install ShareX
- Download the following URLs:
- Click on each to activate them in ShareX
If you use a different host, you will need to alter the base of the URLs above.
You can post any file to Femto using:
$ curl -F "upload=@'UPLOAD_PATH'" https://femto.pw/upload
Replacing UPLOAD_PATH
with the path to the file you want to upload. You can include your API_KEY
as another argument in order to upload it to your account, instead of anonymous
.
$ curl -F "apiKey=API_KEY" -F "upload=@'UPLOAD_PATH'" https://femto.pw/upload
You can also add -F "short=true"
in order to request a shorter response URL, instead of the default long URL.