Documentation
Welcome to the documentation for this service. Below, you’ll find information on how to create shortened URLs, upload text snippets, and remove them if needed. Should you have any questions, please visit our homepage or contact us directly.
Return to Homepage
Creating a Shortened URL
Send a POST request to
6d.hu/links
with the
following JSON body:
{ "redirect": "[the URL to shorten]", "url": "[a custom slug up to 10 characters]" }
Once created, your shortened link will be accessible at:
6d.hu/l/[url]
Uploading Text
Send a POST request to
6d.hu/text
with the following
JSON body:
{ "text": "[your text content]", "url": "[a custom slug up to 10 characters]" }
Your text can then be viewed at:
6d.hu/t/[url]
Raw Data
You can access the raw data of redirects and text snippets by typing
/raw
at the end of the URL.
Example response for a redirect:
{ "redirect": "https://6d.hu/docs" }
Example response for text:
{ "text": "This is a text snippet." }
Deletion of Links or Text
Each created link or text snippet will be assigned a unique ID. Be sure to store this ID, as it is required to send a proper deletion request. If you lose this ID, removal will not be possible.