2

I try to make a browser call to

https://sb-ssl.google.com/safebrowsing/api/lookup?

With and without the API key, etc, but each time and no matter what I do, I get:

File not found
Firefox can't find the file at https://sb-ssl.google.com/safebrowsing/api/lookup?.
Check the file name for capitalization or other typing errors.
Check to see if the file was moved, renamed or deleted.

Any ideas what might be the problem?

mwilson
  • 1,255
  • 12
  • 17
Antony Carthy
  • 5,549
  • 9
  • 34
  • 38

1 Answers1

1

The URL you are using is AFAIk from the Google Safebrowsing API V 1 which used to support GET requests and is now deprecated (and will be taken offline by December 1st) - I strongly recommend switching to V2 of the API which from what I gather only supports requests via POST.

EDIT:

SORRY - I overread the "Lookup" part...

I just checked the URL you gave... From Firefox (latest version) I can confirm what you describe... OTOH when I try it via IE the result is different - it comes back with HTTP 403 which I assume is due to the fact that I don't have a valid key...

I can only conclude that Firefox does something Google won't accept - it can be related to User agent or whatever... have you tried this with a simple wget or some http client component/class ?

Yahia
  • 69,653
  • 9
  • 115
  • 144
  • It's the lookup API that I am interested in - that doesn't have V1 and V2? – Antony Carthy Nov 07 '11 at 15:12
  • Thanks Yahia - I hope a solution can be found and it's not just an unnoticed Google error. – Antony Carthy Nov 18 '11 at 07:22
  • @AntonyCarthy I don't think it is an error - since Mozilla and Google have some special agreements I suspect that this API/URL behaves differently from Firefox than from IE... – Yahia Nov 18 '11 at 09:17