This document summarizes routing in Drupal 7 and 8. In Drupal 7, routing is based on paths and tied to menu links. The menu_rebuild() function populates the menu router table. Hooks like hook_menu() and hook_menu_alter() are used. In Drupal 8, routing uses YAML configuration files and dynamic routes can be added via events. Routing integrates with Symfony via a router listener. The document also outlines REST support in Drupal 8 via normalization, authentication, and resource plugins.