mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-06-13 23:36:45 +03:00
Updated Filer Server API (markdown)
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user