Yet another URL shortener written in Python using Django framework.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dj_url_shortener
shorten
.gitignore
LICENSE
README.md
manage.py
requirements.txt

README.md

Django URL Shortener

Yet another URL shortener written in Python using Django framework.

Status: Codacy Badge

A detailed background for this project is at: Django URL Shortener

API

POST /shorten
Parameters: Parameter link contains the link to shorten.
Returns: Id for the shortened link in text/plain format.

GET /{id}
Returns: 301 redirects the user agent to a previously stored URL. 404 error if no link stored with given id.