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?

1 reply

null
    • Trevor
    • 4 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?

Content aside

  • 1 Likes
  • 4 yrs agoLast active
  • 1Replies
  • 944Views