Skip to content

hershyz/url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

URL Shortener

Flask TinyURL clone.

# API requests
import requests

address = "<your server IP here>"
payload = {
    "shortened": "github",
    "url": "https://www.github.com"
}

r = requests.post(address + "/create", json=payload)
print(r.text)
# redirects
http://address/github -> https://www.github.com

About

Flask TinyURL clone.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages