curl http://dlj.bz/api/urlshortener \
-H 'Content-Type: application/json' \
-d '{"long_url": "http://www.google.com/"}'

{"short_url":"http://dlj.bz/fBBa","long_url":"http://www.google.com/"}