0%

Features

API Usage

Example upload (cURL)
curl -X POST --upload-file fluffy.jpg https://files.electrohaxz.host/upload?fileName=fluffy.jpg
Example upload (Encrypted cURL)
cat fluffy.jpg|gpg -ac -o-|curl -X POST --upload-file "-" https://files.electrohaxz.host/upload?fileName=fluffy.jpg
Example download (Encrypted cURL)
curl https://files.electrohaxz.host/file/ff5e6b48733e42783a8950c7f8b4210f/fluffy.jpg|gpg -o- > fluffy.jpg
Example response
{
  "fileId": "ff5e6b48733e42783a8950c7f8b4210f",
  "fileSize": 625385,
  "url": "file/ff5e6b48733e42783a8950c7f8b4210f",
  "directURL": "file/ff5e6b48733e42783a8950c7f8b4210f/fluffy.jpg",
  "downloadURL": "file/ff5e6b48733e42783a8950c7f8b4210f?download=1",
  "directDownloadURL": "file/ff5e6b48733e42783a8950c7f8b4210f/fluffy.jpg?download=1"
}

Report Abuse

Abuse reports MUST contain file ID or link and description of abuse!
Contact us