GlideBin File Upload API

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.

Base URL

https://glide.pythonscratcher.net/api.php

API Endpoint

POST /api.php

Request

Headers

Content-Type: multipart/form-data

Parameters

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.

Example cURL Request

curl -F "file=@/path/to/your/file" -F "duration=1month" https://glide.pythonscratcher.net/api.php

File Size Limits

Response

The API will return failed or the URL to the file