Sendit
Hall Of Fame!

Example request

curl -sS -F "files[]=@senditrocks.gif" https://sendit.nu/upload.php

Example response

{
  "success": true,
  "files": [
    {
      "hash": "f0ff06fw+9tfri8uw498ojefhenfad6b79570",
      "name": "senditrocks.gif",
      "url": "https:\/\/sendit.nu\/senditrocks.gif",
      "size": 4824
    }
  ]
}

Output description

Attributes Description
success true if uploading file was a success
hash SHA1 hash
name Original file name
url URL that the uploaded file can be found at
size File size in bytes

Example request

curl -sS -F "files[]=@" https://sendit.nu/upload.php

Example response

  "Nice try, read faq and try again....": false,

Example Alias

  curl -sS -F "files[]=@senditrocks.gif" https://sendit.nu/upload.php | grep url | cut -d'"' -f4 | xargs echo

Example response

  https://sendit.nu/f/senditrocks.gif

Output description

Attributes Description
success false if uploading file failed
errorcode error code
decription description of the error