From 089997e09aa6ce8a782ca79e2a0b4513c83537e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20BAROTIN?= Date: Fri, 7 May 2021 14:59:51 +0200 Subject: [PATCH] Updated Filer Server API (markdown) --- Filer-Server-API.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Filer-Server-API.md b/Filer-Server-API.md index 7e6766e..08753ae 100644 --- a/Filer-Server-API.md +++ b/Filer-Server-API.md @@ -45,6 +45,7 @@ Examples: > curl -F file=@report.js "http://localhost:8888/javascript/" {"name":"report.js","size":866,"fid":"7,0254f1f3fd","url":"http://localhost:8081/7,0254f1f3fd"} > curl "http://localhost:8888/javascript/report.js" # get the file content +> curl -I "http://localhost:8888/javascript/report.js" # get only header ... > curl -F file=@report.js "http://localhost:8888/javascript/new_name.js" # upload the file to a different name {"name":"report.js","size":5514}