Skip to content

Commit 24d91a5

Browse files
committed
Merge pull request github#52 from ctshryock/put-content-length-doc-update
Add note to verbs explaination about PUT and empty body requests
2 parents 7b5426f + 26c4585 commit 24d91a5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

content/v3.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ relatively new and uncommon HTTP verb, so resource endpoints also accept
126126
POST requests.
127127

128128
PUT
129-
: Used for replacing resources or collections.
129+
: Used for replacing resources or collections. For PUT requests
130+
with no `body` attribute, be sure to set the `Content-Length` header to zero.
130131

131132
DELETE
132133
: Used for deleting resources.

0 commit comments

Comments
 (0)