Created
May 16, 2015 13:48
-
-
Save aashish/d42700b820de911c9c67 to your computer and use it in GitHub Desktop.
google url shortener
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBm7qeH-ey9sycnGi1sy8Barqm5f1E_ESU -H 'Content-Type: application/json' -d '{"longUrl": "http://www.google.com/"}' | |
{ | |
"kind": "urlshortener#url", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment