Updated Filer Server API (markdown)

Jérôme BAROTIN 2021-05-07 14:59:51 +02:00
parent 3a7d33147f
commit 089997e09a

@ -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}