Created
July 23, 2011 10:30
-
-
Save moski/1101279 to your computer and use it in GitHub Desktop.
Trying to expand an invalid url.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Expand Url (JSON) Error: Trying to expand an invalid shortening key | |
Ex: curl http://xpandurl.com/api/v1/urls/expand_url.json?short_url=http%3A%2F%2Fgoo.gl%2FDRppM1111111111 | |
**/ | |
{ "error":"Not Found - '404'", | |
"code":404 } | |
/* Expand Url (JSON) Error: Trying to expand an invalid URL | |
Ex: curl http://xpandurl.com/api/v1/urls/expand_url.json?short_url=http%3A%2F%2Fzoofs.com | |
**/ | |
{"error":"Unknow url"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment