Endpoint: POST
/api/new
Parameters:
url
(required) - The long URL to be shortened (parameter in POST
data)
password
(optional) - The password to that shortened URL (parameter in POST
data) (we don't recommend to use in applications an URL with password, create another to it)
Endpoint: GET
/api/check/(id)?password=(password)
Parameters:
id
(required) - The ID of the shortened URL (parameter in the URL)
password
(optional) - The password of the shortened URL, if you won't pass it, it will not return the original URL (parameter in the URL query)
Endpoint: GET
/(id)?password=(password)
Parameters:
id
(required) - The ID of the shortened URL (parameter in the URL)
password
(optional) - The password of the shortened URL, if you won't pass it, it will not redirect to the original URL (parameter in the URL query)
Endpoint: GET
/check/(id)?password=(password)
Parameters:
id
(required) - The ID of the shortened URL (parameter in the URL)
password
(optional) - The password of the shortened URL, if you won't pass it, it will not return the original URL (parameter in the URL query)