Skip to content

Instantly share code, notes, and snippets.

@kbrmedia kbrmedia/response.json Secret
Created Feb 2, 2018

Embed
What would you like to do?
Premium URL Shortener API response
// No errors
{
"error":0,
"short":"http:\/\/yoursite.com\/DkZOb"
}
// An error has occurred
{
"error":1,
"msg":"Please enter a valid URL"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.