An API that returns the redirect of URLs
Visiting the URL will return the expanded URL:
https://tiny-expander.now.sh/api/<tiny url without https>
For example,
https://tiny-expander.now.sh/api/tinyurl.com/y6dqpgc7
# returns
http://www.google.com/
Warning: in the GET request, you have to provide the tinyurl without the https://
. This is just a temporary solution until POST is added.
Clone or fork the repository, then run
pipenv shell
flask run
Tiny Expander is hosted with vercel. To host, run
vercel
MIT