delete file from appery database via service
I have my first delete service but when I attempt to delete files I get error:
405 method not allowed.
I am making an admin screen to manage files uploaded- delete etc. I am not sure if my problem is related to my request id used or security. I also tried a service test with same result.
For example, for the file:
code
https://api.appery.io/rest/1/db/files/51b642afe4b0e832dd8ff37c/f7090c13-77ae-4d5c-a846-c81f250cb716.image.jpg
/code
I am including in my request:
filename=f7090c13-77ae-4d5c-a846-c81f250cb716.image.jpg
I also have a related question about administration of files via REST- When others create a file, do I need to explicitly give each uploaded file write permissions each time, for an admin user or is there a superuser database account that can do that with? Maybe my Appery.io login?