Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jsumners committed Dec 29, 2017
1 parent 52d7bd1 commit a2563df
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
A simple plugin for [Fastify][fastify] that adds a content type parser for
the content type `application/x-www-form-urlencoded`.

[fastify]: http://www.fastify.io/
[fastify]: https://www.fastify.io/

## Example

Expand All @@ -12,9 +12,7 @@ Given the following code:
```js
const fastify = require('fastify')()

fastify.register(require('fastify-formbody'), {}, (err) => {
if (err) throw err
})
fastify.register(require('fastify-formbody'))

fastify.post('/', (req, reply) => {
reply.send(req.body)
Expand Down

0 comments on commit a2563df

Please sign in to comment.