To get your API token for URL shortening, please send an email to: tech@cimet.com.au
Once you have received your API token, you can shorten a URL by making a POST request to the path '/' with a payload containing 'url': 'your long url here'.
{ "url": "http://www.your-long-url.com" }
Make sure to include your API token in the request header as 'Authorization'.
headers = { "Authorization": "your_api_token" }