code: function (request, response) {
      if (request.querystring.action === 'delete') {
        this.photo.delete.apply(this, arguments)
      } else if (request.querystring.action === 'put') {
        this.photo.put.apply(this, arguments)
      } else {
        response.serveJSON()
      }
    }
docs: fix for browsers that only allow GET / POST