System Design Interview, System Design Concepts, System Design, Design Tinyurl, Design Bitly.
return 400 Bad Request response, and in case the requested URL already exists in the system, we'll respond with 409 Conflict. 2. Redirect to Long URL (GET /urls/{shortUrlId}) Input: shortUrlId path parameter Output: Response with 301 Moved Permanently and the newly created short URL in the response