file.io API is not working due to CORS issue so for now use tmpfile.org API
- Max File Size: 100MB
- Time Limit: 1 Hour
Clone the repository:
git clone https://github.com/kingslayer458/file-sharing-system.git
cd file-sharing-systemPOST /upload
Request:
- Form-data with a file field (
file)
Response:
{
"status": "success",
"url": "https://tmpfile.org/xyz123"
}Simply open the provided URL in the response to download the file.
- The
file.ioAPI was replaced withtmpfile.orgdue to CORS issues. - This system is designed for temporary file sharing and not for permanent storage
Contributions and improvements are welcome!