I didn't finish yet. ;) The idea is to perform a get request based on the url and if no result is return -> add the item otherwise return the existing short url.