SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
do not use PUT for uploading files
Chris Lu83ab3966d1e0
diff --git a/README.md b/README.mdindex 438bd74c87..eb6463eb56 100644--- a/README.md+++ b/README.md@@ -114,14 +114,14 @@ To upload a file: first, send a HTTP POST, PUT, or GET request to `/dir/assign`{"count":1,"fid":"3,01637037d6","url":"127.0.0.1:8080","publicUrl":"localhost:8080"}```-Second, to store the file content, send a HTTP multi-part PUT or POST request to `url + '/' + fid` from the response:+Second, to store the file content, send a HTTP multi-part POST request to `url + '/' + fid` from the response:```-> curl -X PUT -F file=@/home/chris/myphoto.jpg http://127.0.0.1:8080/3,01637037d6+> curl -F file=@/home/chris/myphoto.jpg http://127.0.0.1:8080/3,01637037d6{"size": 43234}```-To update, send another PUT or POST request with updated file content.+To update, send another POST request with updated file content.For deletion, send an HTTP DELETE request to the same `url + '/' + fid` URL: