You send us files with POST and we will store them and return an url for you in JSON.
curl -F "file=@MYFILE.JPG" https://api.anonfiles.com/v1/upload
{"status":"success","url":"https:\/\/anonfiles.com\/file\/af16b9c6375c02d94312d9f39621f471"}
You can send us a GET request to grab info about a file. We respond with a JSON array.
curl https://api.anonfiles.com/v1/info/af16b9c6375c02d94312d9f39621f471
{"status":0,"msg":"Success","file_name":"free stuff for you website.txt","file_size":422,"date_uploaded":"2012-08-29 07:04:48"}