-
Notifications
You must be signed in to change notification settings - Fork 393
Closed
Description
Hi,
shortenURL() is not working for me and return this message instead of the shorl URL:
This script is for compatibility with applications using is.gd's legacy API. It only works with requests in the old format (e.g. http://is.gd/api.php?longurl=example.com) which your request did not match. If you're having any problems with this or developing a new app please use the latest API instead, see http://is.gd/developers.php for full documentation.
Using the link given, i tried:
request = requests.get("http://is.gd/create.php", params = { 'format': 'simple', 'url': "www.google.com"})
instead of:
request = requests.get("http://is.gd/api.php", params = { 'query': "www.google.com"})
And it seems to be working as intended.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels