resfull services - generating shorter url