A simple URL shortener based on base62 encoding with API support.
- Clone this repository
- Navigate to the main project directory and install the python dependencies with
pip install -r requirements.txt - Run
python manage.py runserverto start the development server and browse tohttp://127.0.0.1:8000
URL http://127.0.0.1:8000/api/
Method POST
Body
{
"url": "long_url"
}{
"url": "long_url",
"hash": "hash",
"short_url": "short_url"
}