Re: Google Safebrowsing lookup API v1 POST request construction.

295 views
Skip to first unread message

DumbGuy

unread,
May 12, 2013, 11:39:39 PM5/12/13
to google-safe-...@googlegroups.com
@DZ:
 
Your &pver=2.2 should be &pver=3.0
 
That may fix it for ya.
 
 

On Thursday, May 9, 2013 3:23:17 PM UTC-7, DZ wrote:
I'm getting similar problems. I can't get even the example to work. All I get are 400 Bad Request responses. The documentation is terrible.
 
I used curl to test any number of requests:
 
 
And all I get is:
 
HTTP/1.1 400 Bad Request
Content-Type: application/octet-stream
Set-Cookie: PREF=ID=558ad29c10cc682e:TM=1368137780:LM=1368137780:S=qwP4LRDxE8pq6
b-s; expires=Sat, 09-May-2015 22:16:20 GMT; path=/; domain=.google.com
X-Content-Type-Options: nosniff
Date: Thu, 09 May 2013 22:16:20 GMT
Server: HTTP server (unknown)
Content-Length: 0
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN
 
Does anyone have a recent working example they can share?
Reply all
Reply to author
Forward
0 new messages