awaBerry Node.js API Client -> usageWriteAFileToFolderAndReadBack.js Test

usageWriteAFileToFolderAndReadBack.js Test

This test demonstrates file read/write permissions using the awaBerry Node.js API client. Create a project in awaBerry agentic using the permission config of awaberry_agent_project_limitedprojecttoreadandwritefilesinfolder.json (upload it in the project creation view). Change the configured folder for the project if required. Select only one device (in case you have connected more than one). Create the project.

Execution

node usageWriteAFileToFolderAndReadBack.js <projectKey> <projectSecret>
Back to Node.js API Client