I was trying to use Google URL shortening API by using ColdFusion. I have written two ColdFusion function which will take Short/Long URL as input parameter then it will return a structure which would have been returned by Google contains both Short/Long URL for the passed value in input parameter.
If you will try with the following example:
Long URL: https://developers.google.com/url-shortener/
Short URL: http://goo.gl/pZbaF
We will get the following result: