Skip to content

animeshroy/url_shortner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

url_shortner1.

  1. Pip install -r requirments.txt

  2. Start server by python3 app.py

  3. 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"}]
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages