An Saor- Fheidhmchlár is Fearr Giorrú URL
Giorrú nasc fada isteach URL glan, buan gearr - saor in aisce, gan aon síniú suas, gan aon rianú.
Conas a oibríonn sé
- Greamaigh URL. Iontráil an URL fada is mian leat a ghiorrú.
- Gearr. Brúigh Gearr agus cruthaítear nasc dlúth a athdhíríonn ar do URL.
- Cóipeáil agus comhroinn. Cóipeáil an nasc gearr agus é a úsáid in áit ar bith — ní théann sé in éag.
Maidir leis an uirlis seo
URL Shortener turns a long, unwieldy link into a short one that's easy to share, type or print. Paste the URL and you get back a compact link that redirects straight to your destination. The short links don't expire and aren't loaded with trackers — they simply forward to where you pointed them. There's no account to create and no dashboard to manage; it's the quick, no-friction way to tidy up a link before you send it.
Cad a úsáideann daoine é le haghaidh
- Nasc fada a ghlanadh sula gcomhroinneann tú é i dteachtaireacht
- Déan nasc gearr go leor chun é a phriontáil ar bhileog eolais
- Cuir URL glan in ionad URL rianaithe gránna
- Comhroinn nasc domhain a d'fhillfeadh go míchuí ar shlí eile
API Forbróra
Uathoibrigh an uirlis seo ó do chód féin. Seol iarratas POST chuig an gcríochphointe thíos agus faigh an toradh céanna a tháirgeann an uirlis gréasáin. Tá sé ráta-teoranta in aghaidh IP agus ní gá aon síniú - eochracha API do theorainneacha níos airde ag teacht.
https://best.free/api/tools/url-shortener/
| Paraiméadair | Sampla | Riachtanach | Nótaí |
|---|---|---|---|
url |
https://example.com/a/very/long/path |
Tá | The destination URL. |
curl -X POST https://best.free/api/tools/url-shortener/ \
-H 'Content-Type: application/json' \
-d '{"url": "https://example.com/a/very/long/path"}'
import requests
r = requests.post(
"https://best.free/api/tools/url-shortener/",
json={"url": "https://example.com/a/very/long/path"},
)
print(r.json())
const r = await fetch("https://best.free/api/tools/url-shortener/", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ url: "https://example.com/a/very/long/path" }),
});
const data = await r.json();
console.log(data);
Freagra: JSON with the short URL in "short_url".
{"ok": true, "short_url": "https://best.free/s/Ab3xZ9", "code": "Ab3xZ9"}