http://api.blume.eu.org/shortlink
const url = 'http://api.blume.eu.org/shortlink?url=http://api.blume.eu.org&apikey=yourApiKey';
const { data } = axios.get(url);
console.log(data)
{
"success": true,
"data": {
"short": "https://s.ctos.my.id/jq2m1s",
"original": "https://youtube.com"
}
}
| Field |
Type |
Description |
| query |
String |
Your Query. |
| apikey |
String |
Your API Key. |
| Error Code |
Meaning |
| 400 |
The Request was malformed or indvalid. |
| 401 |
The client was not authenticated or authorized to perform the request. |
| 403 |
The client was authenticated but not authorized to perform the request. |
| 404 |
The requested resource was not found. |
| 500 |
An error occurred on the server while processing the request. |