From 9393a36497366c86b48a9151d92529b95685ea9f Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 14 Sep 2020 13:10:25 -0700 Subject: [PATCH] Updated Filer Server API (markdown) --- Filer-Server-API.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Filer-Server-API.md b/Filer-Server-API.md index 793a4c9..f02be33 100644 --- a/Filer-Server-API.md +++ b/Filer-Server-API.md @@ -91,6 +91,14 @@ curl -H "Accept: application/json" "http://localhost:8888/javascript/?pretty=y" } ``` +### Create an empty folder + +Folders usually are created automatically when uploading a file. To create an empty file, you can use this: + +``` +curl -X POST "http://localhost:8888/test/" +``` + ### List files under a directory This is for embedded filer only.