U bent hier:

Create a shortened URL

To shorten a URL, you always must supply an entity key, and a basic authentication header created by the API username and password. The URL must be passed as a URL-encoded query parameter.

The next command shortens a URL and returns a new URL that will function as an alias for the longer URL:
https://spbl.eu/create/<entitykey>?url=<url encoded long url>

Example shortened URL creation

For instance if you want to shorten the following URL: 

https://en.wikipedia.org/wiki/The_quick_brown_fox_jumps_over_the_lazy_dog
#Cultural_references_in_several_different_languages

and you want to do this for the entity with the entity key ‘e7140a88-cbba-4cc2-be9f6e90536703ef, you execute an HTTP-GET command to the next url with the correct authentication header: 

https://spbl.eu/create/e7140a88-cbba-4cc2-be9f- 6e90536703ef url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FThe_quick_brown_fox_jumps_over_the_lazy_dog-%23Cultural_references_in_several_different_languages

The result (in this example) is the URL: https://spbl.eu/av0fdd9keK that functions as an alias for the long URL.

Date updated: 2019-07-31
Trust Guard