Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Nov 22, 2012
1 parent 35989ad commit 7084da0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Readme.md
Expand Up @@ -57,6 +57,20 @@ $ burl PATCH '{"name":"tobi"}' /user/12
$ burl POST [1,2,3] /numbers
```

## JSON requests from files

To issue a request with the contents of `./some.json`, instead
of writing:

```
$ curl --data @some.json -H "Content-Type: application/json" http://localhost:3000/
```

Simply invoke:

```
$ POST @some.json /
```

## Expressive header fields

Expand Down

0 comments on commit 7084da0

Please sign in to comment.