mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Filer Server API (markdown)
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}
|
||||
|
|
Loading…
Reference in a new issue