file.nokiy.net

$ ls -lah /
drwxr-xr-x--.
drwxr-xr-x--..
no public files found
$ usage

# upload a file

curl -X PUT https://file.nokiy.net/api/files/path/to/file.txt \
  -H "Authorization: Bearer fnk_YOUR_API_KEY" \
  -H "Content-Type: text/plain" \
  --data-binary @file.txt

# download a file

curl https://file.nokiy.net/api/files/path/to/file.txt \
  -H "Authorization: Bearer fnk_YOUR_API_KEY" \
  -o file.txt

# download a public file (no auth needed)

curl https://file.nokiy.net/api/public/path/to/file.txt -o file.txt