1

Read File Data

Is it possible to read the actual file data in a record attachment?

I'm currently trying to use the ninox programming language to read the actual file contents.  Either using the file() object or using the http request documented in the api:

https://api.ninoxdb.de/v1/teams/:teamid/databases/:databaseid/tables/:tableid/records/:recordid/files/:filename

The response object from this api seems to be trying to format the response as JSON when its binary content.  Any ideas?

1reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
    • Trevor
    • Trevor
    • 2 yrs ago
    • Reported - view

    I see the documentation for file(this, "mypdf.pdf"), but can I use .slice on it and get the individual bytes?

    Like
Like1 Follow
  • 1 Likes
  • 2 yrs agoLast active
  • 1Replies
  • 890Views