surl

a short url

usage:

to set a url

http://qsoc.org/s?url=http://sample.com&t=sample&auth=580ccaafce65146998ab1d6f

where url= the url you want to redirect to

auth= authorization id

[optional] t= friendly token you want to use

if not token is provided, we auto gen a 5 char token

it returns a simple json with the redirection url, the token, and the internal id (save it for maintenanance later) and an error

if there is an error no url is provided

sample result: {"url":"http://qsoc.org/g/sample","token":"sample","id":"580cc8ac7b8147a82adfa01a","error":""}

To redirect the url

http://qsoc.org/g/sample

To list urls

http://qsoc.org/list

to enter url via a form

http://qsoc.org/new