Uploading Files with Drag 'n' Drop
1) Make sure you're logged in and your E-Mail is verified!
2) Observe the box below the instructions or visit the Drag 'n' Drop page.
3) Click on the drag and drop region and select files or drag a file directly into the box.
4) Copy your link and send it to someone!
Loading...
Uploading Files with cURL
1) Make sure your E-Mail is verified!
2) Paste the following command into the command line:
curl -F 'file=@/path/to/file.ext' -F 'api_key=exampleAPIKey' https://lobfile.com/api/v3/upload.php
4) Replace exampleAPIKey with your API key from the my account page.
Uploading Files with the API
1) Make sure your E-Mail is verified!
2) Prepare a POST request with your file to:
https://lobfile.com/api/v3/upload
api_key: (required) YourApiKey
sha_256: (optional) The file's SHA 256 for server verification
HTTP 200
success: (bool) true
url: (string) https://lobfile.com/file/example
EXAMPLE RESPONSE: HTTP 200 {"success":true,"url":"https:\/\/lobfile.com\/file\/example"}
HTTP [4XX|5XX]
success: (bool) false
error: (string) "Some error"
EXAMPLE RESPONSE: HTTP 401 {"success":false,"error":"No API key given"}