anchor.diff:      code.bash
           | {"key":0,"task":"first task ever!"}
   p
  +    | Awesome!
  +p
       | We are sending a JSON document to the API, so for it to parse it corrently we must send a 
       code Content-Type
       |  header along with the request.
  
positive.code: pre
      code.javascript
          | exports.register = function(server, options, next) {
          |     var tasks = [];
          |     server.route([
          |         {
          |             method: 'GET',
          |             path: '/tasks',
          |             handler: function (request, reply) {
          |                 // We now return the list of tasks
          |                 reply(tasks);
          |             }
          |         },
  
negative.code:     a(href="http://hapijs.com/") hapi.js
      | . We'll be building a simple API to keep track of 
      strong tasks
      | .
  p
      strong TL;DR 
      a(href='https://github.com/rcorral/hapijs-restful-api-example') take a look at the code
      | .
  p
      | Before we get started let's initialize 
      a(href='http://blog.npmjs.org/post/85484771375/how-to-install-npm') npm
      |  in a directory:
      pre
          code.bash
              | $ mkdir hapijs-restful-api-example
  