Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit0345328

Browse files
committed
Update note about Content-Type for mutating methods
1 parenta88756a commit0345328

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
<preclass="terminal">
102102
$ curl -i -u username -d '{"scopes":["public_repo"]}' https://api.github.com/authorizations

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp