Loading...
Functional Requirements:
Non Functional Requirements:
To Shorten URLs:
[POST] /api/urls/short
BODY: {
"longUrl": "www.google.com"
}
Response: {
"shortUrl": "www.domain.com/xyz34"
}
To GET Long URL from SHORT URL. If not available it will return 404.
[GET] /api/urls/long?url='www.domain.com/xyz34'
Response: {
"longUrl": "www.google.com"
}
Components: Hash Service, Redis, Load Balancer, Server, NoSQL database.
Components: