All URIs are relative to https://app.linksgpt.com/api/v1
Method | HTTP request | Description |
---|---|---|
url_expander | POST /tools/url-expander | Expand a shortened URL |
InlineResponse200 url_expander(body)
Expand a shortened URL
Takes a shortened URL and returns detailed information about the redirection process and the final destination.
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.URLExpanderApi()
body = swagger_client.ToolsUrlexpanderBody() # ToolsUrlexpanderBody | JSON payload containing the URL to expand
try:
# Expand a shortened URL
api_response = api_instance.url_expander(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling URLExpanderApi->url_expander: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | ToolsUrlexpanderBody | JSON payload containing the URL to expand |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]