HTTP hook for the Sails framework.