github/developer.github.com — pull request #159 by Haacked (2012-10-12 23:36:25+00:00)
Title: Provide a better example of a JSON request

The example we use on the first page of our API docs seems a bit off. The preceding paragraph talks about how all requests send and receive JSON data, but:

![](http://content.screencast.com/users/haacked/folders/Jing/media/6131cac3-cd74-45ef-a7b7-3fdc85dbf29c/2012-10-12_1627.png)

Also, the response is a 302. I think the point of this example is to be short and show JSON being returned. I chose a request that returns an empty array since almost any other request gives you this giant blob of JSON. That would suck as an example too.