0

I am trying to update a row in a Google Fusion table as per the instructions on this page with a URL of the following form:

https://www.google.com/fusiontables/api/query/?sql=UPDATE<TABLEID>SET<COLUMN NAME>=<NEW VALUE>WHERE ROWID=<ROWIDVALUE>

When I enter this into a browser I get a 'File Not Found' message. Any suggestions as to what I might be doing wrong would be appreciated.

Ben Pearce
  • 6,884
  • 18
  • 70
  • 127
  • There seems to be a general problem with the "old" API. The Trusted Tester API works, though. – Odi May 18 '12 at 21:02

2 Answers2

4

Need oauth2 to create token. See details here and here
Then simply add that token to URL

https://www.google.com/fusiontables/api/query/?sql=UPDATE<TABLEID>SET<COLUMN NAME>=<NEW VALUE>WHERE ROWID=<ROWIDVALUE>&access_token=<ACCESS TOKEN>
Community
  • 1
  • 1
Cody Tookode
  • 862
  • 12
  • 22
  • Thanks for pointing to actual examples and direct guides. I'm tired of being pointed in the direction of reading the entire documentation on something, that's not an answer to the question. It certainly provides the important context and should be read eventually but I post questions because the guide is not clear to me. – ericjam Dec 23 '12 at 23:10
0

In order to update a table, either using the old or the new API, you need to send an authorization header along with the request. More information about authorization can be found here:

https://developers.google.com/fusiontables/docs/developers_guide#Authentication

Kathryn Hurley
  • 1,094
  • 6
  • 9