-
Pip install -r requirments.txt
-
Start server by python3 app.py
-
Three api enpoints are provided as
- SHORTEN URL
localhost:5000/shorten_url/ INPUT (Application/JSON) { "url":"https://www.google.com" } Expected Output (Application/JSON) { {"long_url": "https://localhost:5000/253d1"} }
- LONG URL
https://localhost:5000/253d1 Expected Output Redirected Website
- Search keyword
https://localhost:5000/search_key/google Expected Output (Application/JSON) [{"long_url": "https://www.google.com", "short_url": "https://localhost:5000/253d1"}]
-
Notifications
You must be signed in to change notification settings - Fork 0
animeshroy/url_shortner
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published