roniest / google-apis-explorer

Automatically exported from code.google.com/p/google-apis-explorer
Apache License 2.0
0 stars 0 forks source link

google-apis-explorer fails to put valid API key in URL POST request #217

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open the Google Maps Engine API tutorial on "Getting Your Data on a Map" 
with the following URL:
2. 
https://developers.google.com/maps-engine/documentation/tutorial-create-map#auth
3. Replace "{projectId}" with a valid project ID, and hit 'Execute'.

We're supposed to get a valid response from mapsengine.tables.upload. Instead, 
I see:

>>>>>> OUTPUT COPIED FROM HERE >>>>>
POST https://www.googleapis.com/mapsengine/v1/tables/upload?key={YOUR_API_KEY}

Content-Type:  application/json
Authorization:  Bearer 
ya29.jwAh7p5pXunc_EVqvSxNz5dSIt3RopRwBZiXqyUlW-hM0M5DREb5RTnU
X-JavaScript-User-Agent:  Google APIs Explorer

{
 "projectId": "368562057863",
 "name": "Population change",
 "files": [
  {
   "filename": "population-growth.csv"
  },
  {
   "filename": "population-growth.vrt"
  }
 ],
 "description": "World population change",
 "tags": [
  "population growth",
  "population change"
 ],
 "schema": {
  "primaryKey": "COUNTRY"
 }
}
<<<<<<<<<<< TO HERE <<<<<<<<<<<<<

****Note the {YOUR_API_KEY} is not replaced with my valid API key.****

There is no place to input my API KEY, so I have to assume the 
google-apis-explorer is expected to fill it in automatically. 

Original issue reported on code.google.com by taroi...@gmail.com on 29 Sep 2014 at 6:42