Add request method to rest route