url-shortener
Redirect To Long Url
Redirects to the original long URL based on the short code.
Args: short_code (str): The short code to redirect from db (Session, optional): Database session. Defaults from dependency. request (Request, optional): FastAPI request object. Defaults to None.
Returns: RedirectResponse: Redirect to the original URL
Raises: HTTPException: If the short URL is not found
get/api/url-shortener/s/{short_code}
Request
- Base URL: https://api.usepomo.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.usepomo.ai/api/url-shortener/s/{short_code}
- Auth: none declared
Path parameters
short_codestring required
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.