From 23107c5a0571e943e45db8b5e8b47aef4012cc6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Geisendo=CC=88rfer?= Date: Sun, 17 Mar 2013 11:50:32 +0100 Subject: [PATCH] Better API --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bf7e56b..e252f39 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,10 @@ Location: http://tus.example.com/files/123d3ebc995732b2 Content-Length: 0 ``` -### PUT /files/\ +The `Location` header returns the `` to use for interacting with the +file upload. + +### PUT \ **Request Example:** ``` @@ -76,9 +79,9 @@ Content-Range: bytes 0-99/100 HTTP/1.1 200 Ok ``` -### HEAD /files/\ +### HEAD \ -### GET /files/\ +### GET \ Used to download an uploaded file.