Setup GET hooks in version 2 of the Sinatra server.