8000 Merge pull request #254 from github/jdennes-fix-parameters-docs · abertranb/developer.github.com@d1fc094 · GitHub 10BC0
[go: up one dir, main page]

Skip to content

Commit d1fc094

Browse files
committed
Merge pull request github#254 from github/jdennes-fix-parameters-docs
Improve Parameters section by also mentioning PATCH and PUT.
2 parents 49816c6 + e4e79db commit d1fc094

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/v3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ In this example, the 'mojombo' and 'jekyll' values are provided for the `:owner`
5757
and `:repo` parameters in the path while `:state` is passed in the query
5858
string.
5959

60-
For POST requests, parameters not included in the URL should be encoded as JSON
60+
For POST, PATCH, and PUT requests, parameters not included in the URL should be encoded as JSON
6161
with a Content-Type of 'application/x-www-form-urlencoded':
6262

6363
<pre class="terminal">

0 commit comments

Comments
 (0)
0