diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -108,9 +108,9 @@ GET /api/posts/[id] ImageResult ``` -To upload an image to the database, the blob of data may be POSTED to the -following endpoint, where `filename` is the desired filename of the image (a -string): +To upload an image to the database, post a multipart/form-data encoded message +to the following endpoint with the following fields: `tags`, a comma-separated +list of tags for the files, and `image`, the file to be uploaded. ``` POST /api/posts/[filename] |