Add HTTP methods to the renderCallback