ShortURL 是一个能缩短网址,并生成二维码的网站。http://3sd.me/
Long -> Short
URL: http://3sd.me/j/shorten Method: POST Parameters: url Return: JSON
Examples:
$ curl 3sd.me/j/shorten -d "url=baidu.com" {"shorten": "http://3sd.me/Jh8x3", "expand": "http://baidu.com"}
Short -> Long
URL: http://3sd.me/j/expand Method: POST Parameters: shorten Return: JSON
$ curl 3sd.me/j/expand -d "shorten=Jh8x3" {"shorten": "http://3sd.me/Jh8x3", "expand": "http://baidu.com"}