AnonFiles.com API - BETA

UPLOAD

You send us files with POST and we will store them and return an url for you in JSON.

Request

curl -F "file=@MYFILE.JPG" https://api.anonfiles.com/v1/upload

Response

{"status":"success","url":"https:\/\/anonfiles.com\/file\/af16b9c6375c02d94312d9f39621f471"}

Status Messages

INFO

You can send us a GET request to grab info about a file. We respond with a JSON array.

Request

curl https://api.anonfiles.com/v1/info/af16b9c6375c02d94312d9f39621f471

Response

{"status":0,"msg":"Success","file_name":"free stuff for you website.txt","file_size":422,"date_uploaded":"2012-08-29 07:04:48"}

Status Messages