Skip to content

Commit c4392a4

Browse files
committed
Merge pull request github#484 from github/update-1397598381
Sync changes from upstream repository
2 parents ad640d4 + 7fad414 commit c4392a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/v3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ and `:repo` parameters in the path while `:state` is passed in the query
9696
string.
9797

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

101101
<pre class="terminal">
102102
$ curl -i -u username -d '{"scopes":["public_repo"]}' https://api.github.com/authorizations

0 commit comments

Comments
 (0)