Skip to content

Commit

Permalink
Fix header names
Browse files Browse the repository at this point in the history
  • Loading branch information
lautis committed Feb 20, 2012
1 parent 30b11fe commit cbd13a8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/REST.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,18 @@ HTTP/1.1 200 OK
Content-Type must be defined with a header in requests that contain data.

```
Content-type: application/json
Content-Type: application/json
```
or

```
Content-type: application/x-www-form-urlencoded
Content-Type: application/x-www-form-urlencoded
```

Http-accept should include application/json since that is the supported return format of the API
Accept header should include application/json since that is the supported return format of the API

```
Http-accept: application/json
Accept: application/json
```

## Structure of an API response
Expand Down Expand Up @@ -103,5 +103,5 @@ HTTP/1.1 200 OK
### Response headers

```
Content-type: application/json
Content-Type: application/json
```

0 comments on commit cbd13a8

Please sign in to comment.