GET /url/shorten
Verkürzen Sie jede long URL into a compact, shareable short link. Liefert die shortened URL that redirects to the original. Nützlich für social media sharing where character count matters, generating clean links for print materials, tracking link usage, und making long URLs with many parameters more manageable und user-friendly.
url
erforderlich
URL to shorten
| Name | Erforderlich | Standard | Beschreibung |
|---|---|---|---|
url |
Ja | - | URL to shorten |
curl "https://nordapi.ee/api/v1/url/shorten?url=https://nordapi.ee"
curl "https://nordapi.ee/api/v1/url/shorten?url=https://nordapi.ee"
curl "https://nordapi.ee/api/v1/url/shorten?url=https://github.com/elixir-lang/elixir"
HTTP 400: {
"error": "TinyURL returned status 400",
"success": false
}