This API allows users to upload files to GlideBin, specifying an expiration duration. Files can either be uploaded as temporary (with durations ranging from 1 hour to 1 month) or permanent.
https://glide.pythonscratcher.net/api.php
POST /api.php
Content-Type: multipart/form-data
Parameter | Type | Required | Description |
---|---|---|---|
file |
File | Yes | The file to be uploaded. Maximum size is 200MB for temporary files, 32MB for permanent uploads. |
duration |
String | Yes | Specifies the expiration duration for the uploaded file. Accepted values: 1hour , 6hours , 1day , 1week , 1month , or permanent . |
curl -F "file=@/path/to/your/file" -F "duration=1month" https://glide.pythonscratcher.net/api.php
The API will return failed
or the URL to the file