webapi.txt: explain POST /uri/?t=upload, thanks to Toby Murray for the catch

This commit is contained in:
Brian Warner 2009-01-14 18:08:03 -07:00
parent 2fe099a0b3
commit 4334ee056b

View File

@ -670,6 +670,11 @@ POST /uri/$DIRCAP/[SUBDIRS../]FILENAME?t=upload
POST /uri/$FILECAP?t=upload
This modifies the contents of an existing mutable file in-place. An error is
signalled if $FILECAP does not refer to a mutable file. It behaves just like
the "PUT /uri/$FILECAP" form, but uses a POST for the benefit of HTML forms
in a web browser.
=== Attaching An Existing File Or Directory (by URI) ===
POST /uri/$DIRCAP/[SUBDIRS../]?t=uri&name=CHILDNAME&uri=CHILDCAP