Simple functioning redirect.
PDF URL endpoint sample and some comments for documentation.