title: Google URL Shortener API -
body: <p>New to APIs... I was looking to the documentation here (<a href="https://developers.google.com/url-shortener/v1/getting_started" rel="nofollow">https://developers.google.com/url-shortener/v1/getting_started</a>) and couldn't get the following command to work: </p>
  
  <pre><code>  curl https://www.googleapis.com/urlshortener/v1/url?key=&lt;MYAPIKEY&gt; \
    -H 'Content-Type: application/json' \
    -d '{"longUrl": "http://www.google.com/"}'
  </code></pre>
  
  <p>Received this error message:</p>
  
  <pre><code>{
   "error": {
    "errors": [
     {
      "domain": "global",
      "reason": "required",
      "message": "Required parameter: shortUrl",
      "locationType": "parameter",
      "location": "shortUrl"
     }
    ],
    "code": 400,
    "message": "Required parameter: shortUrl"
   }
  }
  </code></pre>
  
  <p>Not sure why they're asking for a shortUrl parameter, isn't what I'm looking for them to return to me? </p>