Skip to content

Commit 7fad414

Browse files
author
Hubot
committed
Sync changes from upstream repository
1 parent ad640d4 commit 7fad414

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
@@ -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)