a dead-simple URL shortener
Head on the website, enter a URL, and click submit (or enter)
Snip has a dead-simple, easy to use API.
- To get the details of a URL, make a GET request to the url +
/api
, example output:
{
id: "Qra7ecH",
stats: {
visits: 10
},
snippedURL: 'http://snipit.herokuapp.com/Qra7ecH',
longURL: 'http://thisisareallylongurlifonlyitcouldbeshorter.com'
}
- To get an array of ALL recent URL's, make a GET request to
/api/links
, example output:
[{"id":"erbpgb9","stats":{"visits":1},"snippedURL":"http://snipit.herokuapp.com/erbpgb9","longURL":"http://kabir.ml"},{"id":"72satt9","stats":{"visits":2295},"snippedURL":"http://snipit.herokuapp.com/72satt9","longURL":"http://usewing.ml"}]
Find a bug in Snip?
Released under the MIT License by Kabir Shah