I've been trying all day to get something working with ruby and
net::HTTP, but to no avail, so I've moved to curl for now, hopefully
this should be easily to follow...

All I'm trying to do is search /feeds/snippets, and although in future
I'll include my API key in the url, for now I'll paste what I try each
time:

curl --header "X-Google-Key: key=xxx" -I 
http://google.com/base/feeds/snippets?bq=macbook

>>

HTTP/1.1 301 Moved Permanently
Location: http://www.google.com/base/feeds/snippets?bq=macbook
Content-Type: text/html; charset=UTF-8
X-Content-Type-Options: nosniff
Date: Tue, 06 Jul 2010 18:51:42 GMT
Expires: Thu, 05 Aug 2010 18:51:42 GMT
Cache-Control: public, max-age=2592000
Server: sffe
Content-Length: 249
X-XSS-Protection: 1; mode=block


Surely I should get an XML document in response, not this? Any ideas?

Any help at all would be greatly appreciated... thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Base Data API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-base-data-api?hl=en.

Reply via email to