New File API

ScrollHub is your web app backend using the New File API.

  • Send POST requests to /new.
  • Your post should contain one field: content.
  • The API will return failure or success (200).
  • Put folderName and filenameStrategy in querystring
    • Example: POST /new?folderName=yoursite.com&filenameStrategy=autoincrement
    • filenameStrategies: autoincrement, hash, random, timestamp, datetime.
  • Alternative to query string: put params above content