Hi group,
First I want to thank Amit for granting me access to BigQuery.
I am trying to run a sample query described in "Using cURL with
BigQuery" under "Getting Started" using cURL on a WinNT machine by
following the instructions. I was able to get a token in Step 1. So
far no luck with the sample query in "Making requests" Step 1 though.
cURL command and results shown below (actual token value removed).
Please advise. Thanks!
curl -v -k -H "Authorization: GoogleLogin auth=TOKEN"
https://www.googleapis.com/bigquery/v1/tables/bigquery/samples/shakespeare
* About to connect() to
www.googleapis.com port 443 (#0)
* Trying 74.125.95.95... connected
* Connected to
www.googleapis.com (74.125.95.95) port 443 (#0)
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using RC4-SHA
* Server certificate:
* subject: C=US; ST=California; L=Mountain View; O=Google Inc;
CN=*.googl
eapis.com
* start date: 2010-03-05 03:07:47 GMT
* expire date: 2011-03-05 03:17:47 GMT
* subjectAltName:
www.googleapis.com matched
* issuer: C=US; O=Google Inc; CN=Google Internet Authority
* SSL certificate verify result: unable to get local issuer
certificate (
20), continuing anyway.
> GET /bigquery/v1/tables/bigquery/samples/shakespeare HTTP/1.1
> User-Agent: curl/7.21.0 (i386-pc-win32) libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2
.5
> Host:
www.googleapis.com
> Accept: */*
> Authorization: GoogleLogin auth=TOKEN
>
< HTTP/1.1 404 Not Found
< Content-Type: text/html; charset=UTF-8
< Date: Thu, 24 Jun 2010 20:37:16 GMT
< Expires: Thu, 24 Jun 2010 20:37:16 GMT
< Cache-Control: private, max-age=0
< X-Content-Type-Options: nosniff
< X-Frame-Options: SAMEORIGIN
< X-XSS-Protection: 1; mode=block
< Server: GSE
< Transfer-Encoding: chunked
<
Not Found* Connection #0 to host
www.googleapis.com left intact
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):