System Design Interview, System Design Concepts, System Design, Design Tinyurl, Design Bitly.
endpoints. 1. Create a Short URL (POST /urls) Input: JSON payload containing the long URL {“longUrl”: “https://example.com/very-long-url"} Output: JSON payload with the shortened URL {“shortUrl”: “https://tiny.url/3ad32p9"} and 201 Created status code. If the request is invalid or malformed, we'll