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.

Provide a better example of a JSON request#159

Merged
pengwynn merged 1 commit intogithub:masterfromhaacked:initial-example-fix
Oct 12, 2012
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 13 additions & 10 deletionscontent/v3.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -18,20 +18,23 @@ domain (or through `yourdomain.com/api/v3/` for enterprise). All data is
sent and received as JSON.

<pre class="terminal">
$ curl -i https://api.github.com
$ curl -i https://api.github.com/users/octocat/orgs

HTTP/1.1302 Found
Server: nginx/1.0.12
Date:Mon, 20 Feb 201211:15:49 GMT
Content-Type:text/html;charset=utf-8
HTTP/1.1200 OK
Server: nginx
Date:Fri, 12 Oct 201223:33:14 GMT
Content-Type:application/json;charset=utf-8
Connection: keep-alive
Status: 302 Found
Status: 200 OK
ETag: "a00049ba79152d03380c34652f2cb612"
X-RateLimit-Limit: 5000
ETag: "d41d8cd98f00b204e9800998ecf8427e"
Location: http://developer.github.com
X-RateLimit-Remaining: 4999
Content-Length: 0
X-GitHub-Media-Type: github.beta
X-RateLimit-Remaining: 4987
Content-Length: 5
Cache-Control: max-age=0, private, must-revalidate
X-Content-Type-Options: nosniff

[]
</pre>

Blank fields are included as `null` instead of being omitted.
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp