API INFO

Other tools for rehosts will be fully compatible with Sendit.
The only exception to this rule is that Sendit has scrict TLS 1.0+ only.

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

{
  "success": false,
  "errorcode": 400,
  "description": "No input file(s)"
}

Output description

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

## Upload API endpoint: /upload.php

## POST arguments: files[]:

< Back to Sendit.nu