Can i use API about create_folder? #396
-
i want to create a directory on my server using api, is it possible? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
is not there who know it? |
Beta Was this translation helpful? Give feedback.
-
For some reason I didn't get any notification for your message, I'm sorry. I just wrote this page to explain how the VFS works https://github.com/rejetto/hfs/wiki/Virtual-file-system |
Beta Was this translation helpful? Give feedback.
-
ah, yes, thanks for reporting. I forgot to document that any POST request must have the following header: |
Beta Was this translation helpful? Give feedback.
-
POST request must have the following header: x-hfs-anti-csrf: 1 |
Beta Was this translation helpful? Give feedback.
For some reason I didn't get any notification for your message, I'm sorry.
Did you already have a look at the call the web interface is using? Because that's the same you should be using too.
You should first clarify if the folder is to be created on disk, or should be virtual.
I just wrote this page to explain how the VFS works https://github.com/rejetto/hfs/wiki/Virtual-file-system
while I will document APIs on https://github.com/rejetto/hfs/wiki/APIs