Простой GET-запрос.
Параметры:
url — длинный URL (обязателен)type — json или plaintextПримеры:
# Только короткий URL в ответе https://perdogo.ignorelist.com/api?url=https://example.com # JSON-ответ https://perdogo.ignorelist.com/api?url=https://example.com&type=json
Ответ (json):
{
"short_url": "https://perdogo.ignorelist.com/Uxxxxxx",
"code": "Uxxxxxx"
}