How to shorten URL with Bitly V4 API and jQuery
2019-5-3u2002·u2002I assume Bitly wants to find slashes so as to process the URL. Interestingly the Bitly API docs say the long_url 'must' be uriencoded, but the answer in the example you link to uses json_encode. – Vanquished Wombat
Get Price