Kcemss protocols
Kcemss protocols
Anyone still looking into this?
Hello everyone,
when you generating link to your file it has https protocol for access, thus user, who opens it need to be loged in Appery.io Database with permission to access to this DB.
Since you are opening this link in native browser it doesn't have permission to open it.
Solution:
Use master-key to generate link to the file:
curl -X GET
https://api.appery.io/rest/1/db/files...
[?][encoded="base64"][&][sessionToken=]
[&][masterKey=]
Forgive me as I am new to this and have limited abilities. Can you give me a step by step on how to do this. I can get my master key. The session token looks like I need to create a REST service. Is this correct? I have shared my database and app with you if it helps. The app name is KCEMSS Protocols. I am using the StateProtocols DB. Thank you.
Andrew,
1) Session token you can receive after login, then save it to LSV
2) Create a rest service which finds file by name
3) on success receive file name
4) copy paste your master key from DB
then after all received/gathered you can form your url to file