API
not support the api ? example : a url request the api then return a shorturl .
It's already supported, but not yet stable written, you can refer to this command line first
curl 'https://sink.cool/api/link/create' \
-H 'authorization: Bearer SinkCool' \
-H 'content-type: application/json' \
--data-raw '{"url":"https://github.com/ccbikai/Sink/issues/14"}'
@ccbikai Thank you, can you specify the slug in the json?
https://chromewebstore.google.com/detail/short-url-extension-333/cpgihhghfphpbapipfllmlplmfokfhaj?authuser=1&hl=zh-TW
Thank you @ccbikai for providing the API example earlier 🙏
I’ve built a Chrome extension based on your API that helps users shorten URLs quickly.
It’s now available on the Chrome Web Store for others who might find it useful.
Really appreciate your contribution!