I start thinking that this course is a crap.
Why the heck any redirectURL need an api_dev_key? It is supposed to be open to unregistered guests!
Redirecting a short URL
To redirect a short URL, the REST API’s definition will be:
redirectURL(api_dev_key, url_key)
Course: Grokking Modern System Design Interview for Engineers & Managers - Learn Interactively
Lesson: Design and Deployment of TinyURL - Grokking Modern System Design Interview for Engineers & Managers