hello i am writing a simple application using the
rest interface of the google book api
http://ajax.googleapis.com/ajax/services/search/books?v=1.0&q=Google
and I am trying to use the thumbnail image, tbUrl (from the json response) to bring the image into my program.
http://ajax.googleapis.com/ajax/services/search/books?v=1.0&q=Google
and I am trying to use the thumbnail image, tbUrl (from the json response) to bring the image into my program.
the url
http://bks7.books.google.com/books?id=sfW6wrHiDnQC&printsec=frontcover&img=1&zoom=5&edge=curl&sig
works fine in a browser (firefox)
but within my program i get
"HTTP response code: 401 for URL"
and
"The file "http://bks7.books.google.com/books?id=sfW6wrHiDnQC&printsec=frontcover&img=1&zoom=5&edge=curl&sig" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable."
"HTTP response code: 401 for URL"
and
"The file "http://bks7.books.google.com/books?id=sfW6wrHiDnQC&printsec=frontcover&img=1&zoom=5&edge=curl&sig" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable."
is there a simple solution to this problem? does it have something to
do with http referers?
1