API gratuita
Endpoint: http://test.shorturl.ovh/api.php · metodo POST. È applicato un limite anti-abuso per indirizzo IP.
JSON
POST http://test.shorturl.ovh/api.php
Content-Type: application/json
{
"url": "https://example.com/pagina-lunga",
"alias": "mio-link",
"expiry": "30d",
"password": ""
}expiry: vuoto, 1d, 7d, 30d, 365d. Alias, expiry e password sono facoltativi.
Risposta
{
"ok": true,
"code": "Ab3x9K",
"short_url": "http://test.shorturl.ovh/Ab3x9K",
"expires_at": null,
"password": false
}