cydrobolt / polr

:aerial_tramway: A modern, powerful, and robust URL shortener
https://polrproject.org
GNU General Public License v2.0
4.95k stars 893 forks source link

Pass the desired length of short code in API call #634

Open dksharma14 opened 1 year ago

dksharma14 commented 1 year ago

Hi,

This is more of a feature request. The default length of short code that is generated is 5 characters. Ideally, if I am calling the API to generate the shortcode for a URL, there should be a optional parameter where I may pass a numeric value (greater than 5) so that a short code of desired length can be generated. Same can be provided in the browser based interface also.

Thanks